Searched defs:pEthHdr (Results 1 - 6 of 6) sorted by relevance
/vbox/src/VBox/NetworkServices/NetLib/ |
H A D | VBoxNetARP.cpp | 51 PCRTNETETHERHDR pEthHdr = (PCRTNETETHERHDR)pvFrame; local 56 if (pEthHdr->EtherType != RT_H2N_U16_C(RTNET_ETHERTYPE_ARP)) 58 if ( ( pEthHdr->DstMac.au16[0] != 0xffff 59 || pEthHdr->DstMac.au16[1] != 0xffff 60 || pEthHdr->DstMac.au16[2] != 0xffff) 61 && ( pEthHdr->DstMac.au16[0] != pMacAddr->au16[0] 62 || pEthHdr->DstMac.au16[1] != pMacAddr->au16[1] 63 || pEthHdr->DstMac.au16[2] != pMacAddr->au16[2]) 69 PCRTNETARPHDR pArpHdr = (PCRTNETARPHDR)(pEthHdr + 1);
|
H A D | VBoxNetUDP.cpp | 84 PCRTNETETHERHDR pEthHdr = (PCRTNETETHERHDR)pvFrame; local 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 [all...] |
/vbox/src/VBox/HostDrivers/VBoxNetFlt/darwin/ |
H A D | VBoxNetFlt-darwin.cpp | 368 PCRTNETETHERHDR pEthHdr = (PCRTNETETHERHDR)pvFrame; local 369 if (!pEthHdr) 370 pEthHdr = (PCRTNETETHERHDR)mbuf_pkthdr_header(pMBuf); 371 if (!pEthHdr) 372 pEthHdr = (PCRTNETETHERHDR)mbuf_data(pMBuf); 374 if ( pEthHdr->DstMac.au8[0] != pTagData->EthHdr.DstMac.au8[0] 375 || pEthHdr->DstMac.au8[1] != pTagData->EthHdr.DstMac.au8[1] 376 || pEthHdr->DstMac.au8[2] != pTagData->EthHdr.DstMac.au8[2] 377 || pEthHdr->DstMac.au8[3] != pTagData->EthHdr.DstMac.au8[3] 378 || pEthHdr [all...] |
/vbox/src/VBox/Devices/Network/testcase/ |
H A D | tstIntNet-1.cpp | 184 PCRTNETETHERHDR pEthHdr = (PCRTNETETHERHDR)pvFrame; local 188 cbFrame, &pEthHdr->SrcMac, &pEthHdr->DstMac, RT_BE2H_U16(pEthHdr->EtherType)); 242 PRTNETETHERHDR pEthHdr = (PRTNETETHERHDR)&abFrame[0]; local 243 PRTNETIPV4 pIpHdr = (PRTNETIPV4) (pEthHdr + 1); 320 memset(&pEthHdr->DstMac, 0xff, sizeof(pEthHdr->DstMac)); /* broadcast */ 321 pEthHdr->SrcMac = *pSrcMac; 322 pEthHdr 367 PRTNETETHERHDR pEthHdr = (PRTNETETHERHDR)&abFrame[0]; local 474 PCRTNETETHERHDR pEthHdr = (PCRTNETETHERHDR)pvFrame; local 555 PCRTNETETHERHDR pEthHdr = (PCRTNETETHERHDR)pvFrame; local [all...] |
/vbox/src/VBox/HostDrivers/VBoxNetFlt/solaris/ |
H A D | VBoxNetFltBow-solaris.c | 582 PCRTNETETHERHDR pEthHdr = (PCRTNETETHERHDR)pMsg->b_rptr; 584 if (pEthHdr->EtherType == RT_H2BE_U16(RTNET_ETHERTYPE_IPV4)) 586 PRTNETIPV4 pIpHdr = (PRTNETIPV4)(pEthHdr + 1); 609 else if (pEthHdr->EtherType == RT_H2BE_U16(RTNET_ETHERTYPE_VLAN)) 611 PVLANHEADER pVlanHdr = (PVLANHEADER)(pMsg->b_rptr + sizeof(RTNETETHERHDR) - sizeof(pEthHdr->EtherType)); 616 else if (pEthHdr->EtherType == RT_H2BE_U16(RTNET_ETHERTYPE_ARP)) 618 PRTNETARPHDR pArpHdr = (PRTNETARPHDR)(pEthHdr + 1); 621 else if (pEthHdr->EtherType == RT_H2BE_U16(RTNET_ETHERTYPE_IPV6)) 625 else if ( pEthHdr->EtherType == RT_H2BE_U16(RTNET_ETHERTYPE_IPX_1) 626 || pEthHdr 679 PRTNETETHERHDR pEthHdr = (PRTNETETHERHDR)pMsg->b_rptr; local [all...] |
H A D | VBoxNetFlt-solaris.c | 2996 PRTNETETHERHDR pEthHdr = (PRTNETETHERHDR)pMsg->b_rptr; local 2999 pDlAddr->SAP = RT_BE2H_U16(pEthHdr->EtherType); 3000 bcopy(&pEthHdr->DstMac, &pDlAddr->Mac, sizeof(RTMAC)); 3003 pDlAddr->SAP = RT_BE2H_U16(pEthHdr->EtherType); 3004 bcopy(&pEthHdr->SrcMac, &pDlAddr->Mac, sizeof(RTMAC)); 3124 PCRTNETETHERHDR pEthHdr = (PCRTNETETHERHDR)pMsg->b_rptr; local 3129 bcopy(&pEthHdr->SrcMac, &pTag->SrcMac, sizeof(RTMAC)); 3130 bcopy(&pEthHdr->DstMac, &pTag->DstMac, sizeof(RTMAC)); 3296 PCRTNETETHERHDR pEthHdr = (PCRTNETETHERHDR)pMsg->b_rptr; local 3298 || pCur->SrcMac.au8[0] != pEthHdr 3427 PRTNETETHERHDR pEthHdr = (PRTNETETHERHDR)pMsg->b_rptr; local 3958 PCRTNETETHERHDR pEthHdr = (PCRTNETETHERHDR)pMsg->b_rptr; local [all...] |
Completed in 677 milliseconds