X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Ficmpv6.h;h=6b2bf70d2417d8e52ea6cba84330d14ee8567451;hb=2cf7311f007833d5818fc9241c09a372c0325a4a;hp=0cf6c8b12caf37acf83f902241b0d101ff4b4f88;hpb=a91482bdcc2e0f6035702e46f1b99043a0893346;p=linux-2.6.git diff --git a/include/linux/icmpv6.h b/include/linux/icmpv6.h index 0cf6c8b12..6b2bf70d2 100644 --- a/include/linux/icmpv6.h +++ b/include/linux/icmpv6.h @@ -86,15 +86,17 @@ struct icmp6hdr { #define ICMPV6_MGM_REPORT 131 #define ICMPV6_MGM_REDUCTION 132 -#define ICMPV6_NI_QUERY 139 -#define ICMPV6_NI_REPLY 140 +/* definitions for MLDv2 */ -#define ICMPV6_MLD2_REPORT 143 +#define MLD2_MODE_IS_INCLUDE 1 +#define MLD2_MODE_IS_EXCLUDE 2 +#define MLD2_CHANGE_TO_INCLUDE 3 +#define MLD2_CHANGE_TO_EXCLUDE 4 +#define MLD2_ALLOW_NEW_SOURCES 5 +#define MLD2_BLOCK_OLD_SOURCES 6 -#define ICMPV6_DHAAD_REQUEST 144 -#define ICMPV6_DHAAD_REPLY 145 -#define ICMPV6_MOBILE_PREFIX_SOL 146 -#define ICMPV6_MOBILE_PREFIX_ADV 147 +#define ICMPV6_MLD2_REPORT 143 +#define MLD2_ALL_MCR_INIT { { { 0xff,0x02,0,0,0,0,0,0,0,0,0,0,0,0,0,0x16 } } } /* * Codes for Destination Unreachable @@ -137,18 +139,6 @@ struct icmp6_filter { __u32 data[8]; }; -/* - * Definitions for MLDv2 - */ -#define MLD2_MODE_IS_INCLUDE 1 -#define MLD2_MODE_IS_EXCLUDE 2 -#define MLD2_CHANGE_TO_INCLUDE 3 -#define MLD2_CHANGE_TO_EXCLUDE 4 -#define MLD2_ALLOW_NEW_SOURCES 5 -#define MLD2_BLOCK_OLD_SOURCES 6 - -#define MLD2_ALL_MCR_INIT { { { 0xff,0x02,0,0,0,0,0,0,0,0,0,0,0,0,0,0x16 } } } - #ifdef __KERNEL__ #include