summaryrefslogtreecommitdiff
path: root/usr.sbin/rtadvd/if.h
AgeCommit message (Collapse)Author
2018-07-23Remove rtadvd(8), it's time to switch to rad(8).Florian Obser
2017-08-10No need to handle multiple routing messages here.Jeremie Courreges-Anglas
route(4) sockets only ever ship a single routing message per read(2) call, so simplify this. Mostly mechanical diff for now, some further cleanups will follow. ok rob@ florian@
2016-06-29Spring cleanupJeremie Courreges-Anglas
- pointless casts, kill caddr_t or replace it with char * - signed counters - simplify if_getmtu, only one method is needed and SIOCGIFMTU is the cheapest - we no longer have drivers for IFT_FDDI - hide details of iflist management - if (dflag) log_debug -> log_debug - dead code and comments - etc etc Input from and ok florian@
2016-02-08Kill trailing whitespace.Jeremie Courreges-Anglas
2015-12-01Use setsockopt(ROUTE_MSGFILTER) instead of hand-rolled filtering.Jeremie Courreges-Anglas
ok florian@
2015-11-30Clean up get_next_msg(): kill dead argument/codeJeremie Courreges-Anglas
The "ifindex" argument has always been zero, making the interface index checks within get_next_msg() useless. The caller already properly retrieves and handle the interface index of the routing messages. ok florian@
2010-05-21remove unused functionsCharles Longeau
from tobias@ (loooooong time ago) ok rainer@ henning@ tobias@
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-01-21sync router renumbering flag bit to conform to 2292bis-02 and RR RFC.Jun-ichiro itojun Hagino
sync with latest kame rtadvd (again). mostly cosmetic.
2001-01-21do not intsall rtadvd.conf into /etc, it is not required to use itJun-ichiro itojun Hagino
(rtadvd will derive the configuration from kernel settings). make it clearer that rtadvd.conf is not necessary, in manpage. sync with kame.
2001-01-15sync with latest kame tree.Jun-ichiro itojun Hagino
- reduce chances for signal handler rae condition - decrease chances for misconfiguration - feedbacks from router renumbering protocol bakeoff - cleanups related to mtu handling
2000-07-06sync with router renumber struct decl change.Jun-ichiro itojun Hagino
more logs. make it very sure to close temporary socket.
2000-05-23sync with latest kame.Jun-ichiro itojun Hagino
- weaken logging priority for /etc/resolv.conf open failure - gather stats, emit stats by SIGUSR1 - use SIOCGIFMTU to get interface MTU (just a matter of #ifdef) From: "Todd T. Fries" <todd@fries.net>
1999-12-11enable rtadvd in usr.sbin/Makefile.Jun-ichiro itojun Hagino
rcsid police on usr.sbin/rtadvd. add sample config into etc/rtadvd.conf. add files into distrib/sets/list.
1999-12-11router advertisement daemon, from KAMEJun-ichiro itojun Hagino