Searched refs:piphdr (Results 1 – 3 of 3) sorted by relevance
294 struct iphdr *piphdr; in rtw_recv_select_queue() local304 piphdr = (struct iphdr *)(pdata + ETH_HLEN); in rtw_recv_select_queue()305 dscp = piphdr->tos & 0xfc; in rtw_recv_select_queue()
360 struct iphdr *piphdr; in rtw_recv_select_queue() local371 piphdr = (struct iphdr *)(pdata + ETH_HLEN); in rtw_recv_select_queue()373 dscp = piphdr->tos & 0xfc; in rtw_recv_select_queue()
675 struct iphdr *piphdr = (struct iphdr *)tmp; in update_attrib() local678 if (piphdr->protocol == 0x1) /* protocol type in ip header 0x1 is ICMP */ in update_attrib()