Searched refs:ip_body (Results 1 – 2 of 2) sorted by relevance
39 #define IP_VER(ip_body) \ argument40 ((((uint8 *)(ip_body))[IP_VER_OFFSET] & IP_VER_MASK) >> IP_VER_SHIFT)143 #define IP_TOS46(ip_body) \ argument144 (IP_VER(ip_body) == IP_VER_4 ? IPV4_TOS(ip_body) : \145 IP_VER(ip_body) == IP_VER_6 ? IPV6_TRAFFIC_CLASS(ip_body) : 0)
1145 uint8 *ip_body = pktdata + sizeof(struct ethervlan_header); in pktsetprio() local1146 uint8 tos_tc = IP_TOS46(ip_body); in pktsetprio()1172 uint8 *ip_body = pktdata + sizeof(struct ether_header); in pktsetprio() local1173 uint8 tos_tc = IP_TOS46(ip_body); in pktsetprio()