summaryrefslogtreecommitdiffstats
path: root/zebra/rtadv.h
Commit message (Collapse)AuthorAgeFilesLines
* zebra: fix rdnss on NetBSDDavid Lamparter2010-02-051-4/+6
| | | | | NetBSD ships struct nd_opt_rdnss in netinet/icmp6.h. fix zebra RDNSS to detect and use that if present.
* IPv6 Router Advertisement Option for RDNSSHagen Paul Pfeifer2010-02-031-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IPv6 Router Advertisement Option for DNS Configuration (RFC 5006)[1] introduced a mechanism to hand out recursive DNS server addresses via router advertisement (RA) messages. This simple combines the IPv6 stateless address auto-configuration process with the ability to get DNS server information - in one message. This options frees many environments from operating an additional DHCPv6 server that provides such information. This patch extends quagga by the ability to generate and transport RDNS addresses. RDNSS options are currently supported at radvd(1) and the Linux Kernel by handover this information to the user-space (via netlink socket). A simple RA configuration with two RDNS entries can be enabled via no ipv6 nd suppress-ra ipv6 nd prefix 2001:db8::/64 ipv6 nd rdnss 2001:db8::1 ipv6 nd rdnss 2001:db8::2 It is additionally possible to specify the lifetime of an RDNSS option as stated in [1] section 4.1. The default is infinity lifetime (0xfffffff) as it serves the most common application areas. ip nd rdnss 2001:db8::1 300000 [1] http://tools.ietf.org/html/rfc5006 Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
* RFC 4191 Default Router Preference support for router advertisementsChris Caputo2009-06-231-0/+2
| | | | | | | | | | | | | | | Adds "ipv6 nd router-preference (high|medium|low)" and "no ipv6 nd router-preference" interface commands. Files modified: doc/ipv6.texi zebra/interface.c zebra/interface.h zebra/rtadv.c zebra/rtadv.h Signed-off-by: Chris Caputo <ccaputo@alt.net>
* [warnings] Fix various SOS warningsPaul Jakma2008-08-221-0/+1
| | | | | | | | | | | | | 2008-08-15 Paul Jakma <paul.jakma@sun.com> * */*: Fix various problems flagged by Sun Studio compiler. - '<qualifier> <storage>' obsolescent in declarations - empty statements (';' after ALIAS definitions) - implicit declarations (e.g printstack in lib/log.c) - "\%" in printf string instead of "%%" - loops that return on the first iteration (legitimately, but compiler can't really know), e.g. bgp_routemap.c - internal declarations which mask prototypes.
* [autoconf] bugs 162,303,178: Fix 'present but can not be compiled' warningsPaul Jakma2007-05-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | 2007-05-09 Paul Jakma <paul.jakma@sun.com> * configure.ac: sys/conf.h depends on sys/param.h, at least on FBSD 6.2. (bug #363) Should check for in_pktinfo for IRDP 2006-05-27 Paul Jakma <paul.jakma@sun.com> * configure.ac: General cleanup of header and type checks, introducing an internal define, QUAGGA_INCLUDES, to build up a list of stuff to include so as to avoid 'present but cant be compiled' warnings. Misc additional checks of things missing according to autoscan. Add LIBM, for bgpd's use of libm, so as to avoid burdening LIBS, and all the binaries, with libm linkage. Remove the bad practice of using m4 changequote(), just quote the []'s in the case statements properly. This should fix bugs 162, 303 and 178. * */*.{c,h}: Update all HAVE_* to the standard autoconf namespaced HAVE_* defines. I.e. HAVE_SA_LEN -> HAVE_STRUCT_SOCKADDR_SA_LEN, * bgpd/Makefile.am: Add LIBM to bgpd's LDADD, for pow().
* [zebra] trivial: rtadv.h depends on interface.hPaul Jakma2006-08-061-0/+2
| | | | | | 2006-08-06 Paul Jakma <paul.jakma@sun.com> * rtadv.h: depends on interface.h, so should include it.
* 2005-06-28 Paul Jakma <paul.jakma@sun.com>paul2005-06-281-1/+2
| | | | | | | * (global) Extern and static'ification, with related fixups of declarations, ensuring files include their own headers, etc. if_ioctl.c: (interface_info_ioctl) fix obvious arg mis-order in list loop
* 2005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>vincent2005-03-251-0/+44
| | | | | * interface.c, interface.h, rtadv.c, rtadv.h: extensions to Neighbor discovery for Mobile IPv6.
* Initial revisionpaul2002-12-131-0/+49