Searched refs:piphdr (Results 1 – 2 of 2) sorted by relevance
359 struct iphdr *piphdr; in rtw_recv_select_queue() local370 piphdr = (struct iphdr *)(pdata + ETH_HLEN); in rtw_recv_select_queue()372 dscp = piphdr->tos & 0xfc; in rtw_recv_select_queue()
674 struct iphdr *piphdr = (struct iphdr *)tmp; in update_attrib() local677 if (piphdr->protocol == 0x1) /* protocol type in ip header 0x1 is ICMP */ in update_attrib()