5 #include <asm/byteorder.h>
7 /* The latest drafts declared increase in minimal mtu up to 1280. */
9 #define IPV6_MIN_MTU 1280
13 * source interface/address selection, source routing, etc...
14 * *under construction*
19 struct in6_addr ipi6_addr
;
25 struct in6_addr ifr6_addr
;
30 #define IPV6_SRCRT_STRICT 0x01 /* this hop must be a neighbor */
31 #define IPV6_SRCRT_TYPE_0 0 /* IPv6 type 0 Routing Header */
44 * variable length field
53 * TLV encoded option data follows.
57 #define ipv6_destopt_hdr ipv6_opt_hdr
58 #define ipv6_hopopt_hdr ipv6_opt_hdr
61 #define ipv6_optlen(p) (((p)->hdrlen+1) << 3)
65 * routing header type 0 (used in cmsghdr struct)
69 struct ipv6_rt_hdr rt_hdr
;
70 __u32 bitmap
; /* strict/loose bit map */
71 struct in6_addr addr
[0];
73 #define rt0_type rt_hdr.type;
79 * BEWARE, it is incorrect. The first 4 bits of flow_lbl
80 * are glued to priority now, forming "class".
84 #if defined(__LITTLE_ENDIAN_BITFIELD)
87 #elif defined(__BIG_ENDIAN_BITFIELD)
91 #error "Please fix <asm/byteorder.h>"
99 struct in6_addr saddr
;
100 struct in6_addr daddr
;
106 This structure contains results of exthdrs parsing
107 as offsets from skb->nh.
110 struct inet6_skb_parm