Searched refs:ip_body (Results 1 – 2 of 2) sorted by relevance
45 #define IP_VER(ip_body) \ argument46 ((((uint8 *)(ip_body))[IP_VER_OFFSET] & IP_VER_MASK) >> IP_VER_SHIFT)149 #define IP_TOS46(ip_body) \ argument150 (IP_VER(ip_body) == IP_VER_4 ? IPV4_TOS(ip_body) : \151 IP_VER(ip_body) == IP_VER_6 ? IPV6_TRAFFIC_CLASS(ip_body) : 0)
1150 uint8 *ip_body = pktdata + sizeof(struct ethervlan_header); in pktsetprio() local1151 uint8 tos_tc = IP_TOS46(ip_body); in pktsetprio()1177 uint8 *ip_body = pktdata + sizeof(struct ether_header); in pktsetprio() local1178 uint8 tos_tc = IP_TOS46(ip_body); in pktsetprio()