Lines Matching +full:0 +full:x0600
92 #define IPV6_VERSION 0x60
93 #define IPV6_VERSION_MASK 0xf0
96 #define IPV6_FLOWINFO_MASK 0x0fffffff /* flow info (28 bits) */
97 #define IPV6_FLOWLABEL_MASK 0x000fffff /* flow label (20 bits) */
98 #define IPV6_ECN_MASK 0x00300000 /* ECN code point (2 bits) */
101 #define IPV6_FLOWINFO_MASK 0xffffff0f /* flow info (28 bits) */
102 #define IPV6_FLOWLABEL_MASK 0xffff0f00 /* flow label (20 bits) */
103 #define IPV6_ECN_MASK 0x00003000 /* ECN code point (2 bits) */
108 #define IPV6_TRAFFIC_CLASS(ip6) ((ntohl((ip6)->ip6_flow) >> IPV6_FLOWLABEL_LEN) & 0xff)
109 #define IPV6_DSCP(ip6) ((ntohl((ip6)->ip6_flow) >> IPV6_FLOWLABEL_LEN) & 0xfc)
110 #define IPV6_ECN(ip6) ((ntohl((ip6)->ip6_flow) >> IPV6_FLOWLABEL_LEN) & 0x03)
138 #define IP6OPT_PAD1 0x00 /* 00 0 00000 */
139 #define IP6OPT_PADN 0x01 /* 00 0 00001 */
140 #define IP6OPT_JUMBO 0xC2 /* 11 0 00010 = 194 */
141 #define IP6OPT_NSAP_ADDR 0xC3 /* 11 0 00011 */
142 #define IP6OPT_TUNNEL_LIMIT 0x04 /* 00 0 00100 */
144 #define IP6OPT_RTALERT 0x05 /* 00 0 00101 (KAME definition) */
146 #define IP6OPT_ROUTER_ALERT 0x05 /* 00 0 00101 (RFC3542, recommended) */
149 #define IP6OPT_RTALERT_MLD 0 /* Datagram contains an MLD message */
154 #define IP6OPT_EID 0x8a /* 10 0 01010 */
156 #define IP6OPT_TYPE(o) ((o) & 0xC0)
157 #define IP6OPT_TYPE_SKIP 0x00
158 #define IP6OPT_TYPE_DISCARD 0x40
159 #define IP6OPT_TYPE_FORCEICMP 0x80
160 #define IP6OPT_TYPE_ICMP 0xC0
162 #define IP6OPT_MUTABLE 0x20
203 #define IP6_ALERT_MLD 0x0000
204 #define IP6_ALERT_RSVP 0x0001
205 #define IP6_ALERT_AN 0x0002
208 #define IP6_ALERT_MLD 0x0000
209 #define IP6_ALERT_RSVP 0x0100
210 #define IP6_ALERT_AN 0x0200
223 /* Type 0 Routing header, deprecated by RFC 5095. */
242 #define IP6F_OFF_MASK 0xfff8 /* mask out offset from _offlg */
243 #define IP6F_RESERVED_MASK 0x0006 /* reserved bits in ip6f_offlg */
244 #define IP6F_MORE_FRAG 0x0001 /* more-fragments flag */
246 #define IP6F_OFF_MASK 0xf8ff /* mask out offset from _offlg */
247 #define IP6F_RESERVED_MASK 0x0600 /* reserved bits in ip6f_offlg */
248 #define IP6F_MORE_FRAG 0x0100 /* more-fragments flag */