nd6.h (241916) | nd6.h (245230) |
---|---|
1/*- 2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * $KAME: nd6.h,v 1.76 2001/12/18 02:10:31 itojun Exp $ | 1/*- 2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * $KAME: nd6.h,v 1.76 2001/12/18 02:10:31 itojun Exp $ |
30 * $FreeBSD: head/sys/netinet6/nd6.h 241916 2012-10-22 21:49:56Z delphij $ | 30 * $FreeBSD: head/sys/netinet6/nd6.h 245230 2013-01-09 18:18:08Z ume $ |
31 */ 32 33#ifndef _NETINET6_ND6_H_ 34#define _NETINET6_ND6_H_ 35 36/* see net/route.h, or net/if_inarp.h */ 37#ifndef RTF_ANNOUNCE 38#define RTF_ANNOUNCE RTF_PROTO2 --- 42 unchanged lines hidden (view full) --- 81#define ND6_IFF_ACCEPT_RTADV 0x2 82#define ND6_IFF_PREFER_SOURCE 0x4 /* Not used in FreeBSD. */ 83#define ND6_IFF_IFDISABLED 0x8 /* IPv6 operation is disabled due to 84 * DAD failure. (XXX: not ND-specific) 85 */ 86#define ND6_IFF_DONT_SET_IFROUTE 0x10 87#define ND6_IFF_AUTO_LINKLOCAL 0x20 88#define ND6_IFF_NO_RADR 0x40 | 31 */ 32 33#ifndef _NETINET6_ND6_H_ 34#define _NETINET6_ND6_H_ 35 36/* see net/route.h, or net/if_inarp.h */ 37#ifndef RTF_ANNOUNCE 38#define RTF_ANNOUNCE RTF_PROTO2 --- 42 unchanged lines hidden (view full) --- 81#define ND6_IFF_ACCEPT_RTADV 0x2 82#define ND6_IFF_PREFER_SOURCE 0x4 /* Not used in FreeBSD. */ 83#define ND6_IFF_IFDISABLED 0x8 /* IPv6 operation is disabled due to 84 * DAD failure. (XXX: not ND-specific) 85 */ 86#define ND6_IFF_DONT_SET_IFROUTE 0x10 87#define ND6_IFF_AUTO_LINKLOCAL 0x20 88#define ND6_IFF_NO_RADR 0x40 |
89#define ND6_IFF_NO_PREFER_IFACE 0x80 /* XXX: not related to ND. */ |
|
89 90#define ND6_CREATE LLE_CREATE 91#define ND6_EXCLUSIVE LLE_EXCLUSIVE 92 93#ifdef _KERNEL 94#define ND_IFINFO(ifp) \ 95 (((struct in6_ifextra *)(ifp)->if_afdata[AF_INET6])->nd_ifinfo) 96#define IN6_LINKMTU(ifp) \ --- 356 unchanged lines hidden --- | 90 91#define ND6_CREATE LLE_CREATE 92#define ND6_EXCLUSIVE LLE_EXCLUSIVE 93 94#ifdef _KERNEL 95#define ND_IFINFO(ifp) \ 96 (((struct in6_ifextra *)(ifp)->if_afdata[AF_INET6])->nd_ifinfo) 97#define IN6_LINKMTU(ifp) \ --- 356 unchanged lines hidden --- |