Home
last modified time | relevance | path

Searched refs:UdpPacket (Results 1 – 8 of 8) sorted by relevance

/device/linaro/bootloader/edk2/NetworkPkg/Mtftp6Dxe/
DMtftp6Wrq.c39 NET_BUF *UdpPacket; in Mtftp6WrqSendBlock() local
48 UdpPacket = NetbufAlloc (Instance->BlkSize + MTFTP6_DATA_HEAD_LEN); in Mtftp6WrqSendBlock()
50 if (UdpPacket == NULL) { in Mtftp6WrqSendBlock()
55 UdpPacket, in Mtftp6WrqSendBlock()
80 NetbufAllocSpace (UdpPacket, DataLen, FALSE); in Mtftp6WrqSendBlock()
113 NetbufAllocSpace (UdpPacket, DataLen, FALSE); in Mtftp6WrqSendBlock()
124 return Mtftp6TransmitPacket (Instance, UdpPacket); in Mtftp6WrqSendBlock()
150 OUT NET_BUF **UdpPacket, in Mtftp6WrqHandleAck() argument
197 NetbufFree (*UdpPacket); in Mtftp6WrqHandleAck()
198 *UdpPacket = NULL; in Mtftp6WrqHandleAck()
[all …]
DMtftp6Rrq.c89 OUT NET_BUF **UdpPacket in Mtftp6RrqSaveBlock() argument
140 NetbufFree (*UdpPacket); in Mtftp6RrqSaveBlock()
141 *UdpPacket = NULL; in Mtftp6RrqSaveBlock()
178 NetbufFree (*UdpPacket); in Mtftp6RrqSaveBlock()
179 *UdpPacket = NULL; in Mtftp6RrqSaveBlock()
218 OUT NET_BUF **UdpPacket, in Mtftp6RrqHandleData() argument
242 NetbufFree (*UdpPacket); in Mtftp6RrqHandleData()
243 *UdpPacket = NULL; in Mtftp6RrqHandleData()
249 Status = Mtftp6RrqSaveBlock (Instance, Packet, Len, UdpPacket); in Mtftp6RrqHandleData()
288 NetbufFree (*UdpPacket); in Mtftp6RrqHandleData()
[all …]
DMtftp6Support.h297 IN NET_BUF *UdpPacket,
334 IN NET_BUF *UdpPacket,
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Mtftp4Dxe/
DMtftp4Wrq.c39 NET_BUF *UdpPacket; in Mtftp4WrqSendBlock() local
48 UdpPacket = NetbufAlloc (Instance->BlkSize + MTFTP4_DATA_HEAD_LEN); in Mtftp4WrqSendBlock()
50 if (UdpPacket == NULL) { in Mtftp4WrqSendBlock()
54 Packet = (EFI_MTFTP4_PACKET *) NetbufAllocSpace (UdpPacket, MTFTP4_DATA_HEAD_LEN, FALSE); in Mtftp4WrqSendBlock()
76 NetbufAllocSpace (UdpPacket, DataLen, FALSE); in Mtftp4WrqSendBlock()
112 NetbufAllocSpace (UdpPacket, DataLen, FALSE); in Mtftp4WrqSendBlock()
118 return Mtftp4SendPacket (Instance, UdpPacket); in Mtftp4WrqSendBlock()
341 IN NET_BUF *UdpPacket, in Mtftp4WrqInput() argument
366 ASSERT (UdpPacket != NULL); in Mtftp4WrqInput()
368 if (UdpPacket->TotalSize < MTFTP4_OPCODE_LEN) { in Mtftp4WrqInput()
[all …]
DMtftp4Rrq.c32 IN NET_BUF *UdpPacket,
639 IN NET_BUF *UdpPacket, in Mtftp4RrqInput() argument
666 ASSERT (UdpPacket != NULL); in Mtftp4RrqInput()
673 if (UdpPacket->TotalSize < MTFTP4_OPCODE_LEN) { in Mtftp4RrqInput()
694 Len = UdpPacket->TotalSize; in Mtftp4RrqInput()
696 if (UdpPacket->BlockOpNum > 1) { in Mtftp4RrqInput()
704 NetbufCopy (UdpPacket, 0, Len, (UINT8 *) Packet); in Mtftp4RrqInput()
707 Packet = (EFI_MTFTP4_PACKET *) NetbufGetByte (UdpPacket, 0, NULL); in Mtftp4RrqInput()
776 if ((Packet != NULL) && (UdpPacket->BlockOpNum > 1)) { in Mtftp4RrqInput()
780 if (UdpPacket != NULL) { in Mtftp4RrqInput()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Dhcp4Dxe/
DDhcp4Io.c959 NET_BUF *UdpPacket, in DhcpInput() argument
981 NetbufFree (UdpPacket); in DhcpInput()
985 ASSERT (UdpPacket != NULL); in DhcpInput()
994 if (UdpPacket->TotalSize < sizeof (EFI_DHCP4_HEADER)) { in DhcpInput()
1001 Len = sizeof (EFI_DHCP4_PACKET) + UdpPacket->TotalSize - sizeof (EFI_DHCP4_HEADER); in DhcpInput()
1010 Packet->Length = NetbufCopy (UdpPacket, 0, UdpPacket->TotalSize, (UINT8 *) Head); in DhcpInput()
1012 if (Packet->Length != UdpPacket->TotalSize) { in DhcpInput()
1083 NetbufFree (UdpPacket); in DhcpInput()
1090 NetbufFree (UdpPacket); in DhcpInput()
DDhcp4Impl.c1303 NET_BUF *UdpPacket, in PxeDhcpInput() argument
1328 ASSERT (UdpPacket != NULL); in PxeDhcpInput()
1333 if (UdpPacket->TotalSize < sizeof (EFI_DHCP4_HEADER)) { in PxeDhcpInput()
1341 …Len = NET_ROUNDUP (sizeof (EFI_DHCP4_PACKET) + UdpPacket->TotalSize - sizeof (EFI_DHCP4_HEADER), … in PxeDhcpInput()
1352 Packet->Length = NetbufCopy (UdpPacket, 0, UdpPacket->TotalSize, (UINT8 *) Head); in PxeDhcpInput()
1354 if (Packet->Length != UdpPacket->TotalSize) { in PxeDhcpInput()
1385 NetbufFree (UdpPacket); in PxeDhcpInput()
DDhcp4Io.h145 NET_BUF *UdpPacket,