Go to the documentation of this file. 1 #ifndef __LINUX_MROUTE6_H
2 #define __LINUX_MROUTE6_H
10 #ifdef CONFIG_IPV6_MROUTE
11 static inline int ip6_mroute_opt(
int opt)
16 static inline int ip6_mroute_opt(
int opt)
24 #ifdef CONFIG_IPV6_MROUTE
29 extern int ip6mr_compat_ioctl(
struct sock *
sk,
unsigned int cmd,
void __user *
arg);
35 int optname,
char __user *optval,
unsigned int optlen)
42 int optname,
char __user *optval,
int __user *optlen)
74 #define VIFF_STATIC 0x8000
103 #define MFC6_LINES 64
105 #define MFC6_HASH(a, g) (((__force u32)(a)->s6_addr32[0] ^ \
106 (__force u32)(a)->s6_addr32[1] ^ \
107 (__force u32)(a)->s6_addr32[2] ^ \
108 (__force u32)(a)->s6_addr32[3] ^ \
109 (__force u32)(g)->s6_addr32[0] ^ \
110 (__force u32)(g)->s6_addr32[1] ^ \
111 (__force u32)(g)->s6_addr32[2] ^ \
112 (__force u32)(g)->s6_addr32[3]) % MFC6_LINES)
114 #define MFC_ASSERT_THRESH (3*HZ)
118 struct rtmsg *rtm,
int nowait);
120 #ifdef CONFIG_IPV6_MROUTE