Home
last modified time | relevance | path

Searched refs:ip_body (Results 1 – 2 of 2) sorted by relevance

/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/
Dbcmip.h39 #define IP_VER(ip_body) \ argument
40 ((((uint8 *)(ip_body))[IP_VER_OFFSET] & IP_VER_MASK) >> IP_VER_SHIFT)
143 #define IP_TOS46(ip_body) \ argument
144 (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)
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dbcmutils.c1145 uint8 *ip_body = pktdata + sizeof(struct ethervlan_header); in pktsetprio() local
1146 uint8 tos_tc = IP_TOS46(ip_body); in pktsetprio()
1172 uint8 *ip_body = pktdata + sizeof(struct ether_header); in pktsetprio() local
1173 uint8 tos_tc = IP_TOS46(ip_body); in pktsetprio()