summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/ipv6.h
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki / 吉藤英明2013-01-13 06:02:45 +0100
committerDavid S. Miller2013-01-14 02:17:14 +0100
commitdd3332bfcb2223458f553f341d3388cb84040e6a (patch)
treed48ba8b295ee3d08c4b4b4f8d924038ccec2c5eb /include/uapi/linux/ipv6.h
parentipv6 xfrm: Use ipv6_addr_hash() in xfrm6_tunnel_spi_hash_byaddr(). (diff)
downloadkernel-qcow2-linux-dd3332bfcb2223458f553f341d3388cb84040e6a.tar.gz
kernel-qcow2-linux-dd3332bfcb2223458f553f341d3388cb84040e6a.tar.xz
kernel-qcow2-linux-dd3332bfcb2223458f553f341d3388cb84040e6a.zip
ipv6: Store Router Alert option in IP6CB directly.
Router Alert option is very small and we can store the value itself in the skb. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/ipv6.h')
-rw-r--r--include/uapi/linux/ipv6.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/ipv6.h b/include/uapi/linux/ipv6.h
index 5a2991cf0251..4bda4cf5b0f5 100644
--- a/include/uapi/linux/ipv6.h
+++ b/include/uapi/linux/ipv6.h
@@ -63,6 +63,8 @@ struct ipv6_opt_hdr {
#define ipv6_destopt_hdr ipv6_opt_hdr
#define ipv6_hopopt_hdr ipv6_opt_hdr
+/* Router Alert option values (RFC2711) */
+#define IPV6_OPT_ROUTERALERT_MLD 0x0000 /* MLD(RFC2710) */
/*
* routing header type 0 (used in cmsghdr struct)