History log of /src/usr.sbin/rtadvd/timer.c |
Revision | | Date | Author | Comments |
1.20 |
| 23-Mar-2021 |
christos | print function names as %s: not <%s> everywhere for consistency.
|
1.19 |
| 03-Dec-2019 |
msaitoh | s/upate/update/ in comment.
|
1.18 |
| 20-Apr-2018 |
roy | branches: 1.18.2; Lack of timeout is a programming error, so use an assert in it's place. While here, improve the error reported if malloc fails.
|
1.17 |
| 20-Apr-2018 |
roy | Use EXIT_FAILURE instead of an arbtitary number.
|
1.16 |
| 20-Apr-2018 |
roy | Allow timers to exist but be inactive. This will be used in a future commit.
|
1.15 |
| 20-Apr-2018 |
roy | White space police.
|
1.14 |
| 06-Nov-2017 |
christos | branches: 1.14.2; Change the meaning of the 'D' flag to print errors to stderr instead of syslog(3) and exit if poll(2) fails (intended to be used with unit-tests).
|
1.13 |
| 11-Nov-2015 |
ozaki-r | branches: 1.13.8; Introduce rump.rtadvd
It is used to write ATF tests for RA.
From s-yamaguchi@IIJ.
|
1.12 |
| 05-Jun-2015 |
roy | Use clock_gettime(2) instead of gettimeofday(2) so we can use a monotonic clock rather than the wall clock. Use timespec rather than timeval structs to make this transition easier. Kill custom timeval comparison functions in favor of timespeccmp(3).
|
1.11 |
| 13-Dec-2012 |
roy | Remove the iflist array and store ifflags in rainfo.
Add support for SIGHUP to re-read the configuration for each interface. If an invalid configuration is found, we continue to use the old one; otherwise we expire the current one and then start advertising the new one.
Specififed interfaces don't have to exist at startup. If specified interfaces arrive, load their config and start advertising. If they depart, remove their rainfo structure and continue.
Fixes PR/43881 and PR/47311
|
1.10 |
| 10-Dec-2011 |
roy | branches: 1.10.6; Add RDNSS and DNSSL support, RFC6106. Replace custom lists with TAILQ lists. Clean up plently of signed vs unsigned warnings and set WARNS=4.
Adapted from FreeBSD.
|
1.9 |
| 05-Mar-2006 |
rpaulo | branches: 1.9.42; NDP-related improvements: RFC4191 - supports host-side router-preference
RFC3542 - if DAD fails on a interface, disables IPv6 operation on the interface - don't advertise MLD report before DAD finishes
Others - fixes integer overflow for valid and preferred lifetimes - improves timer granularity for MLD, using callout-timer. - reflects rtadvd's IPv6 host variable information into kernel (router only) - adds a sysctl option to enable/disable pMTUd for multicast packets - performs NUD on PPP/GRE interface by default - Redirect works regardless of ip6_accept_rtadv - removes RFC1885-related code
From the KAME project via SUZUKI Shinsuke. Reviewed by core.
|
1.8 |
| 10-Jul-2002 |
itojun | byebye __FUNCTIION__. sync w/kame
|
1.7 |
| 29-May-2002 |
itojun | KNF, strlcpy, memory leak fix, random other cleanups. sync w/kame
|
1.6 |
| 21-May-2002 |
itojun | correct bitmask computation. more KNF. sync w/kame
|
1.5 |
| 21-May-2002 |
itojun | KNF. a memory leak fix. sync w/kame
|
1.4 |
| 06-Jul-2000 |
itojun | sync with sys/netinet/icmp6.h change (no bitfield for router renumber). more logging. improve error handling/garbage collection. sync with kame.
|
1.3 |
| 23-May-2000 |
itojun | branches: 1.3.4; sync with latest kame. - decrease warning level on missing rtadvd.conf (actually, the file can be omitted) - strict prototype - gather stats better, emit stats on SIGUSR1 to /var/run
|
1.2 |
| 06-Jul-1999 |
itojun | fix for 64bit arch, where sizeof(size_t) != sizeof(int). add NetBSD RCS ID.
|
1.1 |
| 02-Jul-1999 |
itojun | rtadvd: advertise IPv6 prefix info via router advertisement. (to be run on routers)
|
1.3.4.1 |
| 20-Jul-2000 |
itojun | pullup from main trunc (approved by releng-1-5) sync with sys/netinet/icmp6.h change (no bitfield for router renumber). more logging. improve error handling/garbage collection. sync with kame.
1.1 -> 1.2 basesrc/usr.sbin/rtadvd/dump.c 1.5 -> 1.6 basesrc/usr.sbin/rtadvd/if.c 1.3 -> 1.4 basesrc/usr.sbin/rtadvd/if.h \ basesrc/usr.sbin/rtadvd/rtadvd.conf.5 basesrc/usr.sbin/rtadvd/timer.c \ basesrc/usr.sbin/rtadvd/timer.h 1.4 -> 1.5 basesrc/usr.sbin/rtadvd/rrenum.c \ basesrc/usr.sbin/rtadvd/rtadvd.h 1.8 -> 1.9 basesrc/usr.sbin/rtadvd/rtadvd.8 1.9 -> 1.10 basesrc/usr.sbin/rtadvd/rtadvd.c
|
1.9.42.2 |
| 16-Jan-2013 |
yamt | sync with (a bit old) head
|
1.9.42.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.10.6.1 |
| 25-Feb-2013 |
tls | resync with head
|
1.13.8.1 |
| 21-Nov-2017 |
martin | Pull up following revision(s) (requested by ozaki-r in ticket #358): usr.sbin/rtadvd/rtadvd.c: revision 1.54-1.58 usr.sbin/rtadvd/config.c: revision 1.37 usr.sbin/rtadvd/if.c: revision 1.25 usr.sbin/rtadvd/dump.c: revision 1.15 usr.sbin/rtadvd/rrenum.c: revision 1.20 usr.sbin/rtadvd/logit.h: revision 1.1 usr.sbin/rtadvd/rtadvd.8: revision 1.26 tests/net/ndp/t_ra.sh: revision 1.30 usr.sbin/rtadvd/timer.c: revision 1.14 tests/net/ndp/t_ra.sh: revision 1.31 usr.sbin/rtadvd/advcap.c: revision 1.17
KNF, fix time printing formats.
Don't start another copy of rtadvd if one is running.
PR/52618: Shinichi Doyashiki: Don't exit if adding interface to multicast group fails. This happens with empty vlan interfaces - make syscalls checks against -1 - fix errors to print %s: instead of <%s> XXX: if_vlan is the only pseudo interface in net/ that returns such an error..
Kill rtadvd surely even if the tests fail in the middle It may help PR bin/52701.
Change the meaning of the D flag to print errors to stderr instead of syslog(3) and exit if poll(2) fails (intended to be used with unit-tests).
Mark expandm as preserving format strings.
Let rtadvd not use syslog for logging Thanks to christos@ now rtadvd can log via stderr instead of syslog by -D option. Address PR bin/52701
|
1.14.2.1 |
| 22-Apr-2018 |
pgoyette | Sync with HEAD
|
1.18.2.1 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|