summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rtsold/if.c
Commit message (Collapse)AuthorAgeFilesLines
* - Remove struct ifinfo *iflist. It is no longer used.hrs2013-08-171-4/+3
| | | | - Suppress warnings about increase of alignment requirement.
* - Implement RDNSS and DNSSL options (RFC 6106, IPv6 Router Advertisementhrs2011-06-061-30/+28
| | | | | | | | | | | | | | | | | | | | | Options for DNS Configuration) into rtadvd(8) and rtsold(8). DNS information received by rtsold(8) will go to resolv.conf(5) by resolvconf(8) script. This is based on work by J.R. Oldroyd (kern/156259) but revised extensively[1]. - rtadvd(8) now supports "noifprefix" to disable gathering on-link prefixes from interfaces when no "addr" is specified[2]. An entry in rtadvd.conf with "noifprefix" + no "addr" generates an RA message with no prefix information option. - rtadvd(8) now supports RTM_IFANNOUNCE message to fix crashes when an interface is added or removed. - Correct bogus ND_OPT_ROUTE_INFO value to one in RFC 4191. Reviewed by: bz[1] PR: kern/156259 [1] PR: bin/152458 [2]
* rtsol(8)/rtsold(8): make WARNS=3 cleanuqs2010-02-271-1/+0
| | | | | | It is actually WARNS=6 clean for non-strict alignment archs. Approved by: ed (co-mentor)
* Add support for ND6_IFF_IFDISABLED and ND6_IFF_ACCEPT_RTADV tohrs2009-09-121-0/+54
| | | | | | the -F flag. MFC after: 3 days
* Cleanup of userland __P usekevlo2007-11-071-2/+2
|
* fixed a potential memory leaksuz2006-03-241-1/+3
| | | | | Obtained from: KAME MFC after: 1 day
* add -F flag, which configures sysctl(8) setting by rtsoldume2004-01-141-0/+16
| | | | | | itself (rather than warn about the current setting). Obtained from: KAME
* ansify.ume2004-01-141-2/+2
| | | | Obtained from: KAME
* backout 1.11. ifname in struct ifreq should be copyed by strncpy.ume2003-08-171-4/+4
| | | | Pointed out by: itojun
* use strlcpy().ume2003-08-161-4/+4
| | | | | Pointed out by: Pawel Jakub Dawidek <nick@garage.freebsd.pl> MFC after: 1 week
* - added the case of 802.11 to check link status.ume2003-08-161-5/+5
| | | | | | | | - use strncpy just in case. - __P() cleanup. Obtained from: KAME MFC after: 1 week
* reduce #ifdef.ume2003-08-111-12/+1
| | | | MFC after: 1 week
* KNF, correct typos and cleanup spaces.ume2003-08-081-46/+42
| | | | | Obtained from: KAME MFC after: 1 week
* drop the code for the environment where getifaddrs(3) is notume2003-08-081-86/+0
| | | | | | | supported. Obtained from: KAME MFC after: 1 week
* __FUNCTION__ --> __func__ume2003-08-081-17/+17
| | | | | Obtained from: KAME MFC after: 1 week
* Sync with recent KAME.ume2001-06-111-1/+8
| | | | | | | | | | | | | | | | | | This work was based on kame-20010528-freebsd43-snap.tgz and some critical problem after the snap was out were fixed. There are many many changes since last KAME merge. TODO: - The definitions of SADB_* in sys/net/pfkeyv2.h are still different from RFC2407/IANA assignment because of binary compatibility issue. It should be fixed under 5-CURRENT. - ip6po_m member of struct ip6_pktopts is no longer used. But, it is still there because of binary compatibility issue. It should be removed under 5-CURRENT. Reviewed by: itojun Obtained from: KAME MFC after: 3 weeks
* Sync with KAME. Format string auditing, and add -a flag to autoprobekris2000-10-061-0/+3
| | | | | | interfaces. Obtained from: KAME
* Sync with latest KAME.kris2000-07-051-85/+150
| | | | Obtained from: KAME
* remove redundant ifdef's.shin2000-01-071-31/+1
| | | | some part is specified by: phantom
* Getaddrinfo(), getnameinfo(), and etc support in libc/net.shin1999-12-281-0/+423
Several udp and raw apps IPv6 support. Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
OpenPOWER on IntegriCloud