Searched refs:EtherType (Results 1 - 14 of 14) sorted by relevance
/vbox/src/VBox/NetworkServices/NetLib/ |
H A D | VBoxNetARP.cpp | 56 if (pEthHdr->EtherType != RT_H2N_U16_C(RTNET_ETHERTYPE_ARP)) 135 EthHdr.EtherType = RT_H2N_U16_C(RTNET_ETHERTYPE_ARP);
|
H A D | VBoxNetUDP.cpp | 93 cbFrame, &pEthHdr->DstMac, &pEthHdr->SrcMac, RT_BE2H_U16(pEthHdr->EtherType), 108 if (pEthHdr->EtherType != RT_H2BE_U16_C(RTNET_ETHERTYPE_IPV4)) 193 EtherHdr.EtherType = RT_H2BE_U16_C(RTNET_ETHERTYPE_IPV4);
|
/vbox/src/VBox/HostDrivers/VBoxNetFlt/solaris/ |
H A D | VBoxNetFlt-solaris.c | 2999 pDlAddr->SAP = RT_BE2H_U16(pEthHdr->EtherType); 3003 pDlAddr->SAP = RT_BE2H_U16(pEthHdr->EtherType); 3057 EthHdr.EtherType = RT_H2BE_U16(pDLSapAddr->SAP); 3073 EthHdr.EtherType = RT_H2BE_U16(pDLSapAddr->SAP); 3456 if (pEthHdr->EtherType == RT_H2BE_U16(RTNET_ETHERTYPE_VLAN)) 3476 PVLANHEADER pVlanHdr = (PVLANHEADER)(pMsg->b_rptr + sizeof(RTNETETHERHDR) - sizeof(pEthHdr->EtherType)); 3485 size_t cbEthPrefix = sizeof(RTNETETHERHDR) - sizeof(pEthHdr->EtherType); 3575 if (pEthHdr->EtherType == RT_H2BE_U16(RTNET_ETHERTYPE_IPV4)) 3695 if (pEthHdr->EtherType == RT_H2BE_U16(RTNET_ETHERTYPE_IPV4)) 3721 else if (pEthHdr->EtherType [all...] |
H A D | VBoxNetFltBow-solaris.c | 584 if (pEthHdr->EtherType == RT_H2BE_U16(RTNET_ETHERTYPE_IPV4)) 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)) 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->EtherType == RT_H2BE_U16(RTNET_ETHERTYPE_IPX_2) 627 || pEthHdr->EtherType == RT_H2BE_U16(RTNET_ETHERTYPE_IPX_3)) 633 LogRel((DEVICE_NAME ":Unknown EtherType=%x D=%.6Rhxs S=%.6Rhxs\n", RT_H2BE_U16(pEthHdr->EtherType), [all...] |
/vbox/src/VBox/Devices/Network/testcase/ |
H A D | tstIntNet-1.cpp | 100 switch (RT_BE2H_U16(pEtherHdr->EtherType)) 188 cbFrame, &pEthHdr->SrcMac, &pEthHdr->DstMac, RT_BE2H_U16(pEthHdr->EtherType)); 322 pEthHdr->EtherType = RT_H2BE_U16(RTNET_ETHERTYPE_IPV4); /* IP */ 411 pEthHdr->EtherType = RT_H2BE_U16(RTNET_ETHERTYPE_IPV4); /* IP */ 478 cbFrame, &pEthHdr->DstMac, &pEthHdr->SrcMac, RT_BE2H_U16(pEthHdr->EtherType), 484 && RT_BE2H_U16(pEthHdr->EtherType) == 0x0800 /* EtherType == IP */) 559 cbFrame, &pEthHdr->DstMac, &pEthHdr->SrcMac, RT_BE2H_U16(pEthHdr->EtherType),
|
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/MnpDxe/ |
H A D | MnpVlan.c | 196 UINT16 *EtherType; local 228 EtherType = (UINT16 *) (UINTN) (VlanTci + 1); 229 *EtherType = HTONS (TxData->ProtocolType);
|
/vbox/src/VBox/Devices/Network/ |
H A D | SrvIntNetR0.cpp | 2312 * @param EtherType The Ethertype of the frame. 2314 static void intnetR0TrunkIfSnoopAddr(PINTNETNETWORK pNetwork, PCINTNETSG pSG, uint16_t EtherType) 2316 switch (EtherType) 2573 uint16_t EtherType = RT_H2BE_U16(((PCRTNETETHERHDR)pbFrame)->EtherType); 2574 switch (EtherType) 2984 else if (pEthHdr->EtherType == RT_H2N_U16_C(RTNET_ETHERTYPE_IPV6)) 3030 switch (pEthHdr->EtherType) 3483 && RT_BE2H_U16(pEthHdr->EtherType) == RTNET_ETHERTYPE_IPV6 3493 && RT_BE2H_U16(pEthHdr->EtherType) [all...] |
H A D | DevPCNet.cpp | 4494 && ((PCRTNETETHERHDR)pvBuf)->EtherType == RT_H2BE_U16_C(RTNET_ETHERTYPE_VLAN)))) 4498 && ((PCRTNETETHERHDR)pvBuf)->EtherType == RT_H2BE_U16_C(RTNET_ETHERTYPE_VLAN)); 4508 unsigned cbMaxFrame = ((PCRTNETETHERHDR)pvBuf)->EtherType == RT_H2BE_U16_C(RTNET_ETHERTYPE_VLAN)
|
H A D | DrvIntNet.cpp | 1090 Frame.Hdr.EtherType = RT_H2BE_U16_C(0x801e);
|
/vbox/include/iprt/ |
H A D | net.h | 253 uint16_t EtherType; member in struct:RTNETETHERHDR 262 /** @name EtherType (RTNETETHERHDR::EtherType)
|
/vbox/src/VBox/HostDrivers/VBoxNetFlt/darwin/ |
H A D | VBoxNetFlt-darwin.cpp | 386 || pEthHdr->EtherType != pTagData->EthHdr.EtherType)
|
/vbox/src/VBox/HostDrivers/VBoxNetFlt/linux/ |
H A D | VBoxNetFlt-linux.c | 575 u16Type = RT_BE2H_U16(((PCRTNETETHERHDR)pSG->aSegs[0].pv)->EtherType); 578 uint32_t off = RT_OFFSETOF(RTNETETHERHDR, EtherType);
|
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Include/Library/ |
H A D | NetLib.h | 74 UINT16 EtherType; member in struct:__anon11037
|
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/DxeNetLib/ |
H A D | DxeNetLib.c | 342 Ether->EtherType = HTONS (0x0800); // IPv4 protocol
|
Completed in 115 milliseconds