History log of /openbsd/usr.sbin/ospf6d/ospfe.h (Results 1 – 25 of 25)
Revision Date Author Comments
# ef2d0f96 19-Jan-2021 claudio <claudio@openbsd.org>

Like in ospfd use a static pkt_ptr buffer.


# bf1e0606 19-Jan-2021 claudio <claudio@openbsd.org>

Do the same control cleanup as in ospfd. Move control_state and ctl_conns
into control.c nothing outside needs access to this.


# d18517d2 02-Jan-2020 denis <denis@openbsd.org>

Rename orig_rtr_lsa_area() to orig_rtr_lsa()

Now that area is part of iface, original orig_rtr_lsa() is useless. Also
verifying that area != NULL is not needed in some cases (these are
leftovers of

Rename orig_rtr_lsa_area() to orig_rtr_lsa()

Now that area is part of iface, original orig_rtr_lsa() is useless. Also
verifying that area != NULL is not needed in some cases (these are
leftovers of the previous diff).

OK remi@

show more ...


# 0a137951 28-Dec-2019 denis <denis@openbsd.org>

Refactor link state ack/req.

OK remi@


# 678bb30a 22-Dec-2019 denis <denis@openbsd.org>

Scale send buffer on socket.

OK remi@


# 90d98d51 11-Dec-2019 denis <denis@openbsd.org>

Convert sendto() to sendmsg().

This makes code similar to ospfd(8).

OK claudio@ deraadt@


# 1543e3f7 25-Oct-2014 lteo <lteo@openbsd.org>

Remove unnecessary netinet/in_systm.h include.

ok millert@


# 25bf10db 25-Mar-2013 markus <markus@openbsd.org>

sync w/ospfd: improve snapshot handling; ok claudio, sthen


# 3608871e 22-Aug-2010 bluhm <bluhm@openbsd.org>

Origin network-LSA with options based on the options of the link-LSAs.
Without this fix Cisco's OSPF 6 ignores our network-LSAs.
ok claudio@


# e39620e5 26-May-2010 nicm <nicm@openbsd.org>

Rename some imsg bits to make namespace collisions less likely buf to
ibuf, buf_read to ibuf_read, READ_BUF_SIZE to IBUF_READ_SIZE.

ok henning gilles claudio jacekm deraadt


# d2afa435 29-Mar-2009 stsp <stsp@openbsd.org>

For SPF calculation, we will need the source address specified
in hello packets by next-hop neighbours. So when notifying the
RDE of a new neighbour, send the source address, too.

ok claudio@


# cada50a5 19-Feb-2009 stsp <stsp@openbsd.org>

Remove origination of Intra-Area-Prefix LSAs from ospfe.
Will soon be done in rde instead.

"Sure but don't wait too long before readding the code in rde" claudio@


# f3f203f1 29-Jan-2009 stsp <stsp@openbsd.org>

Originate Intra-Area-Prefix LSAs which reference a router LSA.
Routers can now advertise prefixes with global scope throughout
an area. This paves the way towards doing SPF calculations to
generate r

Originate Intra-Area-Prefix LSAs which reference a router LSA.
Routers can now advertise prefixes with global scope throughout
an area. This paves the way towards doing SPF calculations to
generate routing tables for a single area.
ok claudio@

show more ...


# f0f73935 27-Jan-2009 stsp <stsp@openbsd.org>

Propagate the neighbour's interface ID, as received in hello packets,
to the RDE.
ok claudio@


# d913b22e 30-Dec-2008 claudio <claudio@openbsd.org>

First try at originating Link (type-8) LSA. Code is wrong and the initial
LSA is lost in lsa_flood. Put this in because it goes in the right direction
and ospf6d is work in progress. Add necessary fr

First try at originating Link (type-8) LSA. Code is wrong and the initial
LSA is lost in lsa_flood. Put this in because it goes in the right direction
and ospf6d is work in progress. Add necessary framework so that we can print
Link LSA in ospf6ctl.
Diff mostly from stsp@ ospf6ctl part by myself

show more ...


# 42c65ec5 28-Dec-2008 claudio <claudio@openbsd.org>

Send the interface index in the correct byte order and add iface_id to
struct nbr to identify the neighbors correclty.
From Stefan Sperling stsp (at) stsp.name


# 6c9e7a5b 13-Dec-2007 claudio <claudio@openbsd.org>

Monster commit of stuff I did mostly last month. What it does:
* removes kif and uses iface for everything interface related.
This removes unneeded data redundancy which makes the code more compl

Monster commit of stuff I did mostly last month. What it does:
* removes kif and uses iface for everything interface related.
This removes unneeded data redundancy which makes the code more complex.
* adds the link local prefix to struct iface and attaches a list with
the other prefixes to the struct iface. This is needed to generate the
link LSA.
* disconnects struct iface from struct area (the backpointer is gone)
this will make the reload code a bit easier.
norby@ agrees with the direction we're heading with this

show more ...


# d7a89a67 13-Oct-2007 claudio <claudio@openbsd.org>

From ospfd: Funny typo, it is fib not fip so adjust function name.


# 489ea220 11-Oct-2007 claudio <claudio@openbsd.org>

In OSPFv3 auth crypt is no longer (actually all the auth code is gone) so
kill crypt_seq_num as well.


# 80375038 11-Oct-2007 claudio <claudio@openbsd.org>

area_ospf_options() should return the options in network byte order.


# 7b65306c 11-Oct-2007 claudio <claudio@openbsd.org>

From ospfd:
Do not overload nbr->options with the dd exchange bits. nbr->options is used
by the hello protocol. Instead add a dd_more flag that is used together with
(the renamed) dd_master flag.


# 52bf80cb 10-Oct-2007 claudio <claudio@openbsd.org>

send_packet() now takes a struct in6_addr as destination instead of a
struct sockaddr_in6 and builds the struct sockaddr_in6 internaly adding scope
if necessary. While there switch to sendto() we don

send_packet() now takes a struct in6_addr as destination instead of a
struct sockaddr_in6 and builds the struct sockaddr_in6 internaly adding scope
if necessary. While there switch to sendto() we don't need any of the sendmsg()
features here.
OK norby@

show more ...


# 448b61fa 09-Oct-2007 claudio <claudio@openbsd.org>

Remaining bit of last night work. Make packet reception use all the goodies
introduced (checksumming is no longer needed, no IP header checking is needed,
get a in6_pktinfo with the ifindex and dest

Remaining bit of last night work. Make packet reception use all the goodies
introduced (checksumming is no longer needed, no IP header checking is needed,
get a in6_pktinfo with the ifindex and dest addr, cleanup and remove a lot
of other code). With this ospf6d is able to send and receive first hello
packets. OK norby@

show more ...


# 77b36df3 09-Oct-2007 claudio <claudio@openbsd.org>

Instead of IP_RECVIF we use IPV6_RECVPKTINFO to get the ifindex and the
destination address of incomming packets. This also removes the need for
IP_HDRINCL. Additionally use IPV6_CHECKSUM to let the

Instead of IP_RECVIF we use IPV6_RECVPKTINFO to get the ifindex and the
destination address of incomming packets. This also removes the need for
IP_HDRINCL. Additionally use IPV6_CHECKSUM to let the kernel do the
necessary packet checksumming, way easier than doing it in userland.
OK norby@

show more ...


# a1a4e97b 08-Oct-2007 norby <norby@openbsd.org>

Welcome ospf6d

The new ospf6d daemon will support OSPFv3, basically OSPF for IPv6 networks.

It is heavily based on ospfd(8), it is more or less a copy and paste of it.
Currently some unneeded stuff

Welcome ospf6d

The new ospf6d daemon will support OSPFv3, basically OSPF for IPv6 networks.

It is heavily based on ospfd(8), it is more or less a copy and paste of it.
Currently some unneeded stuff has been removed and the trasition from
IPv4 to IPv6 has begun.

ospf6d is not very usefull at the moment, it is being imported to allow more
people to work on it concurrently.

Not yet connected to the builds.

ok claudio@ dlg@

show more ...