#include <linux/compiler.h>
#include <linux/icmpv6.h>
#include <linux/in6.h>
#include <linux/types.h>
#include <linux/if_arp.h>
#include <linux/netdevice.h>
#include <linux/hash.h>
#include <net/neighbour.h>
Go to the source code of this file.
|
enum | {
__ND_OPT_PREFIX_INFO_END = 0,
ND_OPT_SOURCE_LL_ADDR = 1,
ND_OPT_TARGET_LL_ADDR = 2,
ND_OPT_PREFIX_INFO = 3,
ND_OPT_REDIRECT_HDR = 4,
ND_OPT_MTU = 5,
__ND_OPT_ARRAY_MAX,
ND_OPT_ROUTE_INFO = 24,
ND_OPT_RDNSS = 25,
ND_OPT_DNSSL = 31,
__ND_OPT_MAX
} |
|
|
struct ndisc_options * | ndisc_parse_options (u8 *opt, int opt_len, struct ndisc_options *ndopts) |
|
int | ndisc_init (void) |
|
void | ndisc_cleanup (void) |
|
int | ndisc_rcv (struct sk_buff *skb) |
|
void | ndisc_send_ns (struct net_device *dev, struct neighbour *neigh, const struct in6_addr *solicit, const struct in6_addr *daddr, const struct in6_addr *saddr) |
|
void | ndisc_send_rs (struct net_device *dev, const struct in6_addr *saddr, const struct in6_addr *daddr) |
|
void | ndisc_send_redirect (struct sk_buff *skb, const struct in6_addr *target) |
|
int | ndisc_mc_map (const struct in6_addr *addr, char *buf, struct net_device *dev, int dir) |
|
struct sk_buff * | ndisc_build_skb (struct net_device *dev, const struct in6_addr *daddr, const struct in6_addr *saddr, struct icmp6hdr *icmp6h, const struct in6_addr *target, int llinfo) |
|
void | ndisc_send_skb (struct sk_buff *skb, struct net_device *dev, struct neighbour *neigh, const struct in6_addr *daddr, const struct in6_addr *saddr, struct icmp6hdr *icmp6h) |
|
int | igmp6_init (void) |
|
void | igmp6_cleanup (void) |
|
int | igmp6_event_query (struct sk_buff *skb) |
|
int | igmp6_event_report (struct sk_buff *skb) |
|
void | inet6_ifinfo_notify (int event, struct inet6_dev *idev) |
|
#define MAX_RTR_SOLICITATION_DELAY HZ |
#define ND_REACHABLE_TIME (30*HZ) |
#define ND_RETRANS_TIMER HZ |
#define NDISC_NEIGHBOUR_ADVERTISEMENT 136 |
#define NDISC_NEIGHBOUR_SOLICITATION 135 |
#define NDISC_NODETYPE_DEFAULT 3 /* default router */ |
#define NDISC_NODETYPE_HOST 1 /* host or unauthorized router */ |
#define NDISC_NODETYPE_NODEFAULT 2 /* non-default router */ |
#define NDISC_NODETYPE_UNSPEC 0 /* unspecified (default) */ |
#define NDISC_OPT_SPACE |
( |
|
len | ) |
(((len)+2+7)&~7) |
#define NDISC_REDIRECT 137 |
#define NDISC_ROUTER_ADVERTISEMENT 134 |
#define NDISC_ROUTER_SOLICITATION 133 |
- Enumerator:
__ND_OPT_PREFIX_INFO_END |
|
ND_OPT_SOURCE_LL_ADDR |
|
ND_OPT_TARGET_LL_ADDR |
|
ND_OPT_PREFIX_INFO |
|
ND_OPT_REDIRECT_HDR |
|
ND_OPT_MTU |
|
__ND_OPT_ARRAY_MAX |
|
ND_OPT_ROUTE_INFO |
|
ND_OPT_RDNSS |
|
ND_OPT_DNSSL |
|
__ND_OPT_MAX |
|
Definition at line 27 of file ndisc.h.