Lines Matching defs:pEthHdr
84 PCRTNETETHERHDR pEthHdr = (PCRTNETETHERHDR)pvFrame;
86 pHdrs->pEth = pEthHdr;
93 cbFrame, &pEthHdr->DstMac, &pEthHdr->SrcMac, RT_BE2H_U16(pEthHdr->EtherType),
94 !memcmp(&pEthHdr->DstMac, pDstMac, sizeof(*pDstMac)) ? " Mine!" : "");
108 if (pEthHdr->EtherType != RT_H2BE_U16_C(RTNET_ETHERTYPE_IPV4))
113 || memcmp(&pEthHdr->DstMac, pDstMac, sizeof(pEthHdr->DstMac)))
115 || pEthHdr->DstMac.au16[0] != 0xffff
116 || pEthHdr->DstMac.au16[1] != 0xffff
117 || pEthHdr->DstMac.au16[2] != 0xffff))
130 PCRTNETIPV4 pIpHdr = (PCRTNETIPV4)(pEthHdr + 1);
139 size_t const offIpHdr = (uintptr_t)pIpHdr - (uintptr_t)pEthHdr;
157 size_t offUdpHdr = (uintptr_t)pUdpHdr - (uintptr_t)pEthHdr;