aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mroute6.h
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2008-04-02 20:22:54 -0400
committerYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2008-04-05 09:33:39 -0400
commit14fb64e1f449ef6666f1c3a3fa4e13aec669b98d (patch)
tree92df482215861e4856fe84172d566ebb7d946f4a /include/linux/mroute6.h
parent7bc570c8b4f75ddb3fd5dbeb38127cdc4acbcc9c (diff)
[IPV6] MROUTE: Support PIM-SM (SSM).
Based on ancient patch by Mickael Hoerdt <hoerdt@clarinet.u-strasbg.fr>, which is available at <http://www-r2.u-strasbg.fr/~hoerdt/dev/linux_ipv6_mforwarding/patch-linux-ipv6-mforwarding-0.1a>. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'include/linux/mroute6.h')
-rw-r--r--include/linux/mroute6.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mroute6.h b/include/linux/mroute6.h
index b92190304e0..f6469fb9084 100644
--- a/include/linux/mroute6.h
+++ b/include/linux/mroute6.h
@@ -23,6 +23,8 @@
23#define MRT6_ADD_MFC (MRT6_BASE+4) /* Add a multicast forwarding entry */ 23#define MRT6_ADD_MFC (MRT6_BASE+4) /* Add a multicast forwarding entry */
24#define MRT6_DEL_MFC (MRT6_BASE+5) /* Delete a multicast forwarding entry */ 24#define MRT6_DEL_MFC (MRT6_BASE+5) /* Delete a multicast forwarding entry */
25#define MRT6_VERSION (MRT6_BASE+6) /* Get the kernel multicast version */ 25#define MRT6_VERSION (MRT6_BASE+6) /* Get the kernel multicast version */
26#define MRT6_ASSERT (MRT6_BASE+7) /* Activate PIM assert mode */
27#define MRT6_PIM (MRT6_BASE+8) /* enable PIM code */
26 28
27#define SIOCGETMIFCNT_IN6 SIOCPROTOPRIVATE /* IP protocol privates */ 29#define SIOCGETMIFCNT_IN6 SIOCPROTOPRIVATE /* IP protocol privates */
28#define SIOCGETSGCNT_IN6 (SIOCPROTOPRIVATE+1) 30#define SIOCGETSGCNT_IN6 (SIOCPROTOPRIVATE+1)
@@ -217,6 +219,8 @@ static inline int ip6mr_sk_done(struct sock *sk) { return 0; }
217 219
218struct mrt6msg { 220struct mrt6msg {
219#define MRT6MSG_NOCACHE 1 221#define MRT6MSG_NOCACHE 1
222#define MRT6MSG_WRONGMIF 2
223#define MRT6MSG_WHOLEPKT 3 /* used for use level encap */
220 __u8 im6_mbz; /* must be zero */ 224 __u8 im6_mbz; /* must be zero */
221 __u8 im6_msgtype; /* what type of message */ 225 __u8 im6_msgtype; /* what type of message */
222 __u16 im6_mif; /* mif rec'd on */ 226 __u16 im6_mif; /* mif rec'd on */