0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef _NET_MIP6_H
0013 #define _NET_MIP6_H
0014
0015 #include <linux/skbuff.h>
0016 #include <net/sock.h>
0017
0018
0019
0020
0021 struct ip6_mh {
0022 __u8 ip6mh_proto;
0023 __u8 ip6mh_hdrlen;
0024 __u8 ip6mh_type;
0025 __u8 ip6mh_reserved;
0026 __u16 ip6mh_cksum;
0027
0028 __u8 data[];
0029 } __packed;
0030
0031 #define IP6_MH_TYPE_BRR 0
0032 #define IP6_MH_TYPE_HOTI 1
0033 #define IP6_MH_TYPE_COTI 2
0034 #define IP6_MH_TYPE_HOT 3
0035 #define IP6_MH_TYPE_COT 4
0036 #define IP6_MH_TYPE_BU 5
0037 #define IP6_MH_TYPE_BACK 6
0038 #define IP6_MH_TYPE_BERROR 7
0039 #define IP6_MH_TYPE_MAX IP6_MH_TYPE_BERROR
0040
0041 #endif