diff options
| author | Hideaki Yoshifuji <yoshfuji@linux-ipv6.org> | 2004-07-29 20:04:10 +0900 |
|---|---|---|
| committer | Hideaki Yoshifuji <yoshfuji@linux-ipv6.org> | 2004-07-29 20:04:10 +0900 |
| commit | c18f65d787671616f56f720b1e0c359d88593155 (patch) | |
| tree | 9b15f3eb850f33f9645cbda1f0ba61a048220b47 /include/linux | |
| parent | 25130ad7e799399339970835e1f606d0eb37280f (diff) | |
[IPV6] fix the order of icmpv6 definitions for consistency.
Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/icmpv6.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/include/linux/icmpv6.h b/include/linux/icmpv6.h index 6b2bf70d2417..ed8f6848f48c 100644 --- a/include/linux/icmpv6.h +++ b/include/linux/icmpv6.h @@ -85,18 +85,7 @@ struct icmp6hdr { #define ICMPV6_MGM_QUERY 130 #define ICMPV6_MGM_REPORT 131 #define ICMPV6_MGM_REDUCTION 132 - -/* 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 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 @@ -139,6 +128,18 @@ 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 <linux/netdevice.h> |
