summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rtsold/probe.c
Commit message (Collapse)AuthorAgeFilesLines
* Use sysctl(ICMPV6CTL_ND6_DRLIST) instead of SIOCGDRLST_IN6 ioctl.hrs2013-08-171-28/+39
|
* - Remove struct ifinfo *iflist. It is no longer used.hrs2013-08-171-1/+1
| | | | - Suppress warnings about increase of alignment requirement.
* - Implement RDNSS and DNSSL options (RFC 6106, IPv6 Router Advertisementhrs2011-06-061-4/+5
| | | | | | | | | | | | | | | | | | | | | 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]
* Test index value is within the range before using it to referencedelphij2010-01-041-1/+1
| | | | | | | | array member. PR: bin/141838 Submitted by: Henning Petersen <henning.petersen@t-online.de> MFC after: 2 weeks
* Cleanup of userland __P usekevlo2007-11-071-1/+1
|
* ansify.ume2004-01-141-2/+2
| | | | Obtained from: KAME
* - improved the -a option. it can probe a interface automatically whenume2003-08-171-8/+11
| | | | | | | | | | | the interface wake up. it can be started anytime even when there is no network interface on the list of intarfaces in the kernel. - get a correct link ID for each interface at initialization (using scope libraries if HAVE_SCOPELIB is defined). - fill in sin6_scope_id correctly before sendmsg(). Obtained from: KAME MFC after: 1 week
* reduce #ifdef.ume2003-08-111-2/+0
| | | | MFC after: 1 week
* use strlcpy() and snprintf().ume2003-08-111-3/+3
| | | | | Obtained from: KAME MFC after: 1 week
* KNF, correct typos and cleanup spaces.ume2003-08-081-31/+23
| | | | | Obtained from: KAME MFC after: 1 week
* __FUNCTION__ --> __func__ume2003-08-081-8/+8
| | | | | Obtained from: KAME MFC after: 1 week
* Sync with recent KAME.ume2001-06-111-1/+1
| | | | | | | | | | | | | | | | | | 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-6/+17
| | | | Obtained from: KAME
* remove redundant ifdef's.shin2000-01-071-2/+0
| | | | some part is specified by: phantom
* Getaddrinfo(), getnameinfo(), and etc support in libc/net.shin1999-12-281-0/+179
Several udp and raw apps IPv6 support. Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
OpenPOWER on IntegriCloud