/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/ |
D | Ip4Output.c | 55 FirstFragment = IP4_FIRST_FRAGMENT (Head->Fragment); in Ip4PrependHead() 78 PacketHead->Fragment = HTONS (Head->Fragment); in Ip4PrependHead() 231 NET_BUF *Fragment; in Ip4Output() local 364 Fragment = NetbufGetFragment (Packet, Offset, PacketLen, IP4_MAX_HEADLEN); in Ip4Output() 366 if (Fragment == NULL) { in Ip4Output() 375 Head->Fragment = IP4_HEAD_FRAGMENT_FIELD (FALSE, (Index != 0), Offset); in Ip4Output() 376 Ip4PrependHead (Fragment, Head, Option, OptLen); in Ip4Output() 386 Fragment, in Ip4Output() 403 Head->Fragment = IP4_HEAD_FRAGMENT_FIELD (FALSE, TRUE, 0); in Ip4Output()
|
D | Ip4Input.c | 81 NET_BUF *Fragment; in Ip4FreeAssembleEntry() local 84 Fragment = NET_LIST_USER_STRUCT (Entry, NET_BUF, List); in Ip4FreeAssembleEntry() 87 NetbufFree (Fragment); in Ip4FreeAssembleEntry() 230 NET_BUF *Fragment; in Ip4Reassemble() local 284 Fragment = NET_LIST_USER_STRUCT (Cur, NET_BUF, List); in Ip4Reassemble() 286 if (This->Start < IP4_GET_CLIP_INFO (Fragment)->Start) { in Ip4Reassemble() 298 Fragment = NET_LIST_USER_STRUCT (Prev, NET_BUF, List); in Ip4Reassemble() 299 Node = IP4_GET_CLIP_INFO (Fragment); in Ip4Reassemble() 324 Fragment = NET_LIST_USER_STRUCT (Cur, NET_BUF, List); in Ip4Reassemble() 325 Node = IP4_GET_CLIP_INFO (Fragment); in Ip4Reassemble() [all …]
|
D | Ip4Common.c | 264 Head->Fragment = NTOHS (Head->Fragment); in Ip4NtohHead()
|
D | Ip4Icmp.c | 249 ReplyHead.Fragment = 0; in Ip4IcmpReplyEcho()
|
D | Ip4Igmp.c | 208 Head.Fragment = 0; in Ip4SendIgmpMessage()
|
D | Ip4Impl.c | 1710 DontFragment = IP4_DO_NOT_FRAGMENT (Head.Fragment); in EfiIp4Transmit() 1760 Head.Fragment = IP4_HEAD_FRAGMENT_FIELD (DontFragment, FALSE, 0); in EfiIp4Transmit()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/ |
D | IScsiTcp4Io.c | 420 NET_FRAGMENT *Fragment; in Tcp4IoReceive() local 425 Fragment = AllocatePool (FragmentCount * sizeof (NET_FRAGMENT)); in Tcp4IoReceive() 426 if (Fragment == NULL) { in Tcp4IoReceive() 432 NetbufBuildExt (Packet, Fragment, &FragmentCount); in Tcp4IoReceive() 441 RxData.DataLength = Fragment[CurrentFragment].Len; in Tcp4IoReceive() 442 RxData.FragmentTable[0].FragmentLength = Fragment[CurrentFragment].Len; in Tcp4IoReceive() 443 RxData.FragmentTable[0].FragmentBuffer = Fragment[CurrentFragment].Bulk; in Tcp4IoReceive() 474 Fragment[CurrentFragment].Len -= RxData.FragmentTable[0].FragmentLength; in Tcp4IoReceive() 475 if (Fragment[CurrentFragment].Len == 0) { in Tcp4IoReceive() 478 Fragment[CurrentFragment].Bulk += RxData.FragmentTable[0].FragmentLength; in Tcp4IoReceive() [all …]
|
D | IScsiProto.c | 965 NET_FRAGMENT Fragment[2]; in IScsiReceivePdu() local 1038 Fragment[0].Len = Len; in IScsiReceivePdu() 1039 Fragment[0].Bulk = Context->InData + InDataOffset; in IScsiReceivePdu() 1046 Fragment[1].Len = PadLen + (DataDigest ? sizeof (UINT32) : 0); in IScsiReceivePdu() 1047 Fragment[1].Bulk = (UINT8 *)PadAndCRC32 + (4 - PadLen); in IScsiReceivePdu() 1053 DataSeg = NetbufFromExt (&Fragment[0], FragmentCount, 0, 0, IScsiNbufExtFree, NULL); in IScsiReceivePdu() 1789 NET_FRAGMENT Fragment[2]; in IScsiNewDataSegment() local 1794 Fragment[0].Len = Len; in IScsiNewDataSegment() 1795 Fragment[0].Bulk = Data; in IScsiNewDataSegment() 1799 Fragment[1].Len = PadLen; in IScsiNewDataSegment() [all …]
|
/device/linaro/bootloader/edk2/NetworkPkg/HttpDxe/ |
D | HttpsSupport.c | 695 NET_FRAGMENT *Fragment; in TlsCommonReceive() local 707 Fragment = AllocatePool (FragmentCount * sizeof (NET_FRAGMENT)); in TlsCommonReceive() 708 if (Fragment == NULL) { in TlsCommonReceive() 716 NetbufBuildExt (Packet, Fragment, &FragmentCount); in TlsCommonReceive() 737 Tcp4RxData->DataLength = Fragment[CurrentFragment].Len; in TlsCommonReceive() 738 Tcp4RxData->FragmentTable[0].FragmentLength = Fragment[CurrentFragment].Len; in TlsCommonReceive() 739 Tcp4RxData->FragmentTable[0].FragmentBuffer = Fragment[CurrentFragment].Bulk; in TlsCommonReceive() 742 Tcp6RxData->DataLength = Fragment[CurrentFragment].Len; in TlsCommonReceive() 743 Tcp6RxData->FragmentTable[0].FragmentLength = Fragment[CurrentFragment].Len; in TlsCommonReceive() 744 Tcp6RxData->FragmentTable[0].FragmentBuffer = Fragment[CurrentFragment].Bulk; in TlsCommonReceive() [all …]
|
D | HttpImpl.c | 951 NET_FRAGMENT Fragment; in HttpResponseWorker() local 969 Fragment.Len = 0; in HttpResponseWorker() 970 Fragment.Bulk = NULL; in HttpResponseWorker() 1296 Status = HttpsReceive (HttpInstance, &Fragment, HttpInstance->TimeoutEvent); in HttpResponseWorker() 1309 (UINTN) Fragment.Len, in HttpResponseWorker() 1310 (CHAR8 *) Fragment.Bulk in HttpResponseWorker() 1328 …HttpMsg->BodyLength = MIN ((UINTN) (HttpInstance->NextMsg - (CHAR8 *) Fragment.Bulk), HttpMsg->Bod… in HttpResponseWorker() 1329 CopyMem (HttpMsg->Body, Fragment.Bulk, HttpMsg->BodyLength); in HttpResponseWorker() 1331 HttpInstance->CacheLen = Fragment.Len - HttpMsg->BodyLength; in HttpResponseWorker() 1343 … CopyMem (HttpInstance->CacheBody, Fragment.Bulk + HttpMsg->BodyLength, HttpInstance->CacheLen); in HttpResponseWorker() [all …]
|
D | HttpProto.c | 1762 NET_FRAGMENT Fragment; in HttpTcpReceiveHeader() local 1773 Fragment.Len = 0; in HttpTcpReceiveHeader() 1774 Fragment.Bulk = NULL; in HttpTcpReceiveHeader() 1831 Fragment.Len = Rx4Token->Packet.RxData->FragmentTable[0].FragmentLength; in HttpTcpReceiveHeader() 1832 Fragment.Bulk = (UINT8 *) Rx4Token->Packet.RxData->FragmentTable[0].FragmentBuffer; in HttpTcpReceiveHeader() 1834 if (Fragment.Bulk != NULL) { in HttpTcpReceiveHeader() 1835 FreePool (Fragment.Bulk); in HttpTcpReceiveHeader() 1836 Fragment.Bulk = NULL; in HttpTcpReceiveHeader() 1839 Status = HttpsReceive (HttpInstance, &Fragment, Timeout); in HttpTcpReceiveHeader() 1849 *BufferSize = *SizeofHeaders + Fragment.Len; in HttpTcpReceiveHeader() [all …]
|
D | HttpsSupport.h | 236 IN OUT NET_FRAGMENT *Fragment 256 IN OUT NET_FRAGMENT *Fragment,
|
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/ |
D | Ip6Input.c | 74 NET_BUF *Fragment; in Ip6FreeAssembleEntry() local 77 Fragment = NET_LIST_USER_STRUCT (Entry, NET_BUF, List); in Ip6FreeAssembleEntry() 80 NetbufFree (Fragment); in Ip6FreeAssembleEntry() 177 NET_BUF *Fragment; in Ip6Reassemble() local 234 Fragment = NET_LIST_USER_STRUCT (Cur, NET_BUF, List); in Ip6Reassemble() 236 if (This->Start < IP6_GET_CLIP_INFO (Fragment)->Start) { in Ip6Reassemble() 248 Fragment = NET_LIST_USER_STRUCT (Prev, NET_BUF, List); in Ip6Reassemble() 249 Node = IP6_GET_CLIP_INFO (Fragment); in Ip6Reassemble() 259 Ip6TrimPacket (Fragment, Node->Start, This->Start); in Ip6Reassemble() 276 Fragment = NET_LIST_USER_STRUCT (Cur, NET_BUF, List); in Ip6Reassemble() [all …]
|
D | Ip6Output.c | 514 NET_BUF *Fragment; in Ip6Output() local 882 Fragment = NetbufGetFragment (Packet, Offset, PacketLen, UnFragmentLen); in Ip6Output() 883 if (Fragment == NULL) { in Ip6Output() 898 Fragment, in Ip6Output() 911 Fragment, in Ip6Output()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeTcpIoLib/ |
D | DxeTcpIoLib.c | 887 NET_FRAGMENT *Fragment; in TcpIoReceive() local 930 Fragment = AllocatePool (FragmentCount * sizeof (NET_FRAGMENT)); in TcpIoReceive() 931 if (Fragment == NULL) { in TcpIoReceive() 938 NetbufBuildExt (Packet, Fragment, &FragmentCount); in TcpIoReceive() 945 RxData->DataLength = Fragment[CurrentFragment].Len; in TcpIoReceive() 946 RxData->FragmentTable[0].FragmentLength = Fragment[CurrentFragment].Len; in TcpIoReceive() 947 RxData->FragmentTable[0].FragmentBuffer = Fragment[CurrentFragment].Bulk; in TcpIoReceive() 992 Fragment[CurrentFragment].Len -= RxData->FragmentTable[0].FragmentLength; in TcpIoReceive() 993 if (Fragment[CurrentFragment].Len == 0) { in TcpIoReceive() 996 Fragment[CurrentFragment].Bulk += RxData->FragmentTable[0].FragmentLength; in TcpIoReceive() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/ |
D | SockImpl.c | 168 EFI_TCP4_FRAGMENT_DATA *Fragment; in SockSetTcpRxData() local 181 Fragment = &RxData->FragmentTable[Index]; in SockSetTcpRxData() 182 CopyBytes = MIN ((UINT32) (Fragment->FragmentLength), RcvdBytes); in SockSetTcpRxData() 188 Fragment->FragmentBuffer in SockSetTcpRxData() 191 Fragment->FragmentLength = CopyBytes; in SockSetTcpRxData()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeNetLib/ |
D | NetBuffer.c | 949 NET_FRAGMENT *Fragment; in NetbufFromBufList() local 970 Fragment = AllocatePool (sizeof (NET_FRAGMENT) * FragmentNum); in NetbufFromBufList() 972 if (Fragment == NULL) { in NetbufFromBufList() 984 Fragment[Current].Bulk = Nbuf->BlockOp[Index].Head; in NetbufFromBufList() 985 Fragment[Current].Len = Nbuf->BlockOp[Index].Size; in NetbufFromBufList() 991 Nbuf = NetbufFromExt (Fragment, Current, HeadSpace, HeaderLen, ExtFree, Arg); in NetbufFromBufList() 992 FreePool (Fragment); in NetbufFromBufList()
|
/device/linaro/bootloader/edk2/NetworkPkg/HttpBootDxe/ |
D | HttpBootDhcp4.h | 197 CHAR8 *Fragment; /// TODO: may not required in HTTP URL member
|
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/ |
D | IScsiProto.c | 1272 NET_FRAGMENT Fragment[2]; in IScsiReceivePdu() local 1344 Fragment[0].Len = Len; in IScsiReceivePdu() 1345 Fragment[0].Bulk = Context->InData + InDataOffset; in IScsiReceivePdu() 1352 Fragment[1].Len = PadLen + (DataDigest ? sizeof (UINT32) : 0); in IScsiReceivePdu() 1353 Fragment[1].Bulk = (UINT8 *)PadAndCRC32 + (4 - PadLen); in IScsiReceivePdu() 1360 DataSeg = NetbufFromExt (&Fragment[0], FragmentCount, 0, 0, IScsiNbufExtFree, NULL); in IScsiReceivePdu() 2116 NET_FRAGMENT Fragment[2]; in IScsiNewDataSegment() local 2121 Fragment[0].Len = Len; in IScsiNewDataSegment() 2122 Fragment[0].Bulk = Data; in IScsiNewDataSegment() 2126 Fragment[1].Len = PadLen; in IScsiNewDataSegment() [all …]
|
/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/ |
D | SockImpl.c | 203 EFI_TCP4_FRAGMENT_DATA *Fragment; in SockSetTcpRxData() local 219 Fragment = &RxData->FragmentTable[Index]; in SockSetTcpRxData() 220 CopyBytes = MIN ((UINT32) (Fragment->FragmentLength), RcvdBytes); in SockSetTcpRxData() 226 Fragment->FragmentBuffer in SockSetTcpRxData() 229 Fragment->FragmentLength = CopyBytes; in SockSetTcpRxData()
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel1CommandsLib/ |
D | If.c | 54 IN CONST CHAR16 *Fragment, in IsNextFragment() argument 62 Tester = StrnCatGrow(&Tester, NULL, *Statement, StrLen(Fragment)); in IsNextFragment() 66 Tester[StrLen(Fragment)] = CHAR_NULL; in IsNextFragment() 69 (CHAR16*)Fragment, in IsNextFragment() 74 *Statement+=StrLen(Fragment); in IsNextFragment()
|
/device/linaro/bootloader/edk2/StdLib/Efi/StdLib/etc/ |
D | protocols | 30 ipv6-frag 44 IPv6-Frag # Fragment Header for IPv6
|
/device/linaro/bootloader/edk2/StdLib/EfiSocketLib/ |
D | Socket.c | 1827 UINT32 Fragment; in EslSocketCopyFragmentedBuffer() local 1844 Fragment = 0; in EslSocketCopyFragmentedBuffer() 1846 while (( pBufferEnd > pBuffer ) && ( FragmentCount > Fragment )) { in EslSocketCopyFragmentedBuffer() 1850 pData = pFragmentTable[Fragment].FragmentBuffer; in EslSocketCopyFragmentedBuffer() 1851 BytesToCopy = pFragmentTable[Fragment].FragmentLength; in EslSocketCopyFragmentedBuffer() 1866 Fragment += 1; in EslSocketCopyFragmentedBuffer()
|
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/ |
D | Payload.c | 1500 HASH_DATA_FRAGMENT Fragment[1]; in Ikev2GenerateCertificatePayload() local 1559 Fragment[0].Data = PublicKey; in Ikev2GenerateCertificatePayload() 1560 Fragment[0].DataSize = PublicKeyLen; in Ikev2GenerateCertificatePayload() 1569 Fragment, in Ikev2GenerateCertificatePayload()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Library/ |
D | NetLib.h | 136 UINT16 Fragment; member
|