Lines Matching refs:ipv6_body
136 #define IPV6_TRAFFIC_CLASS(ipv6_body) \ argument
137 (((((uint8 *)(ipv6_body))[0] & 0x0f) << 4) | \
138 ((((uint8 *)(ipv6_body))[1] & 0xf0) >> 4))
140 #define IPV6_FLOW_LABEL(ipv6_body) \ argument
141 (((((uint8 *)(ipv6_body))[1] & 0x0f) << 16) | \
142 (((uint8 *)(ipv6_body))[2] << 8) | \
143 (((uint8 *)(ipv6_body))[3]))
145 #define IPV6_PAYLOAD_LEN(ipv6_body) \ argument
146 ((((uint8 *)(ipv6_body))[IPV6_PAYLOAD_LEN_OFFSET + 0] << 8) | \
147 ((uint8 *)(ipv6_body))[IPV6_PAYLOAD_LEN_OFFSET + 1])
149 #define IPV6_NEXT_HDR(ipv6_body) \ argument
150 (((uint8 *)(ipv6_body))[IPV6_NEXT_HDR_OFFSET])
152 #define IPV6_PROT(ipv6_body) IPV6_NEXT_HDR(ipv6_body) argument