Searched defs:IpHdr (Results 1 - 4 of 4) sorted by relevance

/vbox/src/VBox/NetworkServices/NetLib/
H A DVBoxNetUDP.cpp200 RTNETIPV4 IpHdr; local
202 IpHdr.ip_v = 4;
203 IpHdr.ip_hl = cbIdHdr >> 2;
204 IpHdr.ip_tos = 0;
205 IpHdr.ip_len = RT_H2BE_U16((uint16_t)(cbData + sizeof(RTNETUDP) + cbIdHdr));
206 IpHdr.ip_id = (uint16_t)RTRandU32();
207 IpHdr.ip_off = 0;
208 IpHdr.ip_ttl = 255;
209 IpHdr.ip_p = RTNETIPV4_PROT_UDP;
210 IpHdr
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/DxeIpIoLib/
H A DDxeIpIoLib.c276 EFI_IP4_HEADER *IpHdr; local
286 IpHdr = (EFI_IP4_HEADER *) (&IcmpHdr->IpHead);
291 if (Pkt->TotalSize < ICMP_ERRLEN (IpHdr)) {
375 PayLoadHdr = (UINT8 *) ((UINT8 *) IpHdr + EFI_IP4_HEADER_LEN (IpHdr));
405 EFI_IP6_HEADER *IpHdr; local
496 IpHdr = (EFI_IP6_HEADER *) (&IcmpHdr->IpHead);
497 NextHeader = IpHdr->NextHeader;
1058 Session.IpHdr.Ip4Hdr = RxData->Ip4RxData.Header;
1095 Session.IpHdr
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Include/Library/
H A DIpIoLib.h63 @param[in] IpHdr A pointer to EFI_IP4_HEADER.
67 #define ICMP_ERRLEN(IpHdr) \
68 (sizeof(IP4_ICMP_HEAD) + EFI_IP4_HEADER_LEN(IpHdr) + 8)
167 IP_IO_IP_HEADER IpHdr; ///< IP header of the received packet. member in struct:_EFI_NET_SESSION_DATA
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/Udp4Dxe/
H A DUdp4Impl.c1697 EFI_IP4_HEADER *IpHdr; local
1711 IpHdr = NetSession->IpHdr.Ip4Hdr;
1716 Len = sizeof (IP4_ICMP_ERROR_HEAD) + (EFI_IP4_HEADER_LEN (IpHdr) -
1744 CopyMem (&IcmpErrHdr->IpHead, IpHdr, EFI_IP4_HEADER_LEN (IpHdr));
1749 Ptr = (UINT8 *) &IcmpErrHdr->IpHead + EFI_IP4_HEADER_LEN (IpHdr);

Completed in 120 milliseconds