Searched defs:PacketHead (Results 1 - 3 of 3) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/Ip4Dxe/
H A DIp4Output.c48 IP4_HEAD *PacketHead; local
62 PacketHead = (IP4_HEAD *) NetbufAllocSpace (Packet, HeadLen, NET_BUF_HEAD);
64 if (PacketHead == NULL) {
68 Ip4CopyOption (Option, OptLen, FirstFragment, (UINT8 *) (PacketHead + 1), &Len);
73 PacketHead->Ver = 4;
74 PacketHead->HeadLen = (UINT8) (HeadLen >> 2);
75 PacketHead->Tos = Head->Tos;
76 PacketHead->TotalLen = HTONS ((UINT16) Packet->TotalSize);
77 PacketHead->Id = HTONS (Head->Id);
78 PacketHead
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/Ip6Dxe/
H A DIp6Output.c386 EFI_IP6_HEADER *PacketHead; local
395 PacketHead = (EFI_IP6_HEADER *) NetbufAllocSpace (Packet, HeadLen, NET_BUF_HEAD);
396 if (PacketHead == NULL) {
403 CopyMem (PacketHead, Head, sizeof (EFI_IP6_HEADER));
404 PacketHead->PayloadLength = HTONS ((UINT16) (Packet->TotalSize - sizeof (EFI_IP6_HEADER)));
405 Packet->Ip.Ip6 = PacketHead;
411 PacketHead->NextHeader = IP6_FRAGMENT;
421 NextHeader = PacketHead->NextHeader;
438 (UINT8 *) (PacketHead + 1),
515 EFI_IP6_HEADER *PacketHead; local
[all...]
H A DIp6Input.c523 EFI_IP6_HEADER *PacketHead; local
532 PacketHead = NULL;
689 PacketHead = (EFI_IP6_HEADER *) NetbufAllocSpace (
694 if (PacketHead == NULL) {
700 CopyMem (PacketHead, *Head, sizeof (EFI_IP6_HEADER));
701 *Head = PacketHead;
702 Packet->Ip.Ip6 = PacketHead;
705 Buf = (UINT8 *) (PacketHead + 1);

Completed in 4079 milliseconds