Searched refs:PayloadLen (Results 1 – 8 of 8) sorted by relevance
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/ |
D | Ip6Icmp.c | 583 UINT16 PayloadLen; in Ip6SendIcmpError() local 632 PayloadLen = (UINT16) (PacketLen - sizeof (EFI_IP6_HEADER)); in Ip6SendIcmpError() 639 Head.PayloadLength = HTONS (PayloadLen); in Ip6SendIcmpError() 673 PayloadLen -= sizeof (IP6_ICMP_INFORMATION_HEAD); in Ip6SendIcmpError() 674 ErrorBody = NetbufAllocSpace (ErrorMsg, PayloadLen, FALSE); in Ip6SendIcmpError() 676 ZeroMem (ErrorBody, PayloadLen); in Ip6SendIcmpError() 677 NetbufCopy (Packet, 0, PayloadLen, ErrorBody); in Ip6SendIcmpError()
|
D | Ip6Mld.c | 142 UINT16 PayloadLen; in Ip6SendMldReport() local 161 PayloadLen = (UINT16) (OptionLen + sizeof (IP6_MLD_HEAD)); in Ip6SendMldReport() 162 Packet = NetbufAlloc (sizeof (EFI_IP6_HEADER) + (UINT32) PayloadLen); in Ip6SendMldReport() 174 Head.PayloadLength = HTONS (PayloadLen); in Ip6SendMldReport() 245 UINT16 PayloadLen; in Ip6SendMldDone() local 265 PayloadLen = (UINT16) (OptionLen + sizeof (IP6_MLD_HEAD)); in Ip6SendMldDone() 266 Packet = NetbufAlloc (sizeof (EFI_IP6_HEADER) + (UINT32) PayloadLen); in Ip6SendMldDone() 276 Head.PayloadLength = HTONS (PayloadLen); in Ip6SendMldDone()
|
D | Ip6Input.c | 763 UINT16 PayloadLen; in Ip6PreProcessPacket() local 773 PayloadLen = 0; in Ip6PreProcessPacket() 838 PayloadLen = (*Head)->PayloadLength; in Ip6PreProcessPacket() 841 Info->Length = PayloadLen; in Ip6PreProcessPacket() 847 TotalLen = (UINT16) (PayloadLen + sizeof (EFI_IP6_HEADER)); in Ip6PreProcessPacket() 863 if (PayloadLen != 0) { in Ip6PreProcessPacket() 864 *Payload = AllocatePool ((UINTN) PayloadLen); in Ip6PreProcessPacket() 869 NetbufCopy (*Packet, sizeof (EFI_IP6_HEADER), PayloadLen, *Payload); in Ip6PreProcessPacket() 877 (UINT32) PayloadLen, in Ip6PreProcessPacket() 941 PayloadLen = (*Head)->PayloadLength; in Ip6PreProcessPacket() [all …]
|
D | Ip6Nd.c | 1113 UINT16 PayloadLen; in Ip6SendRouterSolicit() local 1127 PayloadLen = (UINT16) sizeof (IP6_ICMP_INFORMATION_HEAD); in Ip6SendRouterSolicit() 1129 PayloadLen += sizeof (IP6_ETHER_ADDR_OPTION); in Ip6SendRouterSolicit() 1132 Packet = NetbufAlloc (sizeof (EFI_IP6_HEADER) + (UINT32) PayloadLen); in Ip6SendRouterSolicit() 1142 Head.PayloadLength = HTONS (PayloadLen); in Ip6SendRouterSolicit() 1229 UINT16 PayloadLen; in Ip6SendNeighborAdvertise() local 1241 …PayloadLen = (UINT16) (sizeof (IP6_ICMP_INFORMATION_HEAD) + sizeof (EFI_IPv6_ADDRESS) + sizeof (IP… in Ip6SendNeighborAdvertise() 1247 Packet = NetbufAlloc (sizeof (EFI_IP6_HEADER) + (UINT32) PayloadLen); in Ip6SendNeighborAdvertise() 1257 Head.PayloadLength = HTONS (PayloadLen); in Ip6SendNeighborAdvertise() 1342 UINT16 PayloadLen; in Ip6SendNeighborSolicit() local [all …]
|
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/ |
D | Payload.c | 1355 UINT16 PayloadLen; in Ikev2GenerateCpPayload() local 1371 PayloadLen = (UINT16) (sizeof (IKEV2_CFG) + sizeof (IKEV2_CFG_ATTRIBUTES)); in Ikev2GenerateCpPayload() 1372 Cfg = (IKEV2_CFG *) AllocateZeroPool (PayloadLen); in Ikev2GenerateCpPayload() 1386 Cfg->Header.PayloadLength = PayloadLen; in Ikev2GenerateCpPayload() 1402 CpPayload->PayloadSize = PayloadLen; in Ikev2GenerateCpPayload() 1497 UINT16 PayloadLen; in Ikev2GenerateCertificatePayload() local 1523 PayloadLen = (UINT16) (sizeof (IKEV2_CERT) + CertificateLen); in Ikev2GenerateCertificatePayload() 1528 PayloadLen = (UINT16) (sizeof (IKEV2_CERT) + 20); in Ikev2GenerateCertificatePayload() 1531 Cert = AllocateZeroPool (PayloadLen); in Ikev2GenerateCertificatePayload() 1540 Cert->Header.PayloadLength = PayloadLen; in Ikev2GenerateCertificatePayload() [all …]
|
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/ |
D | IpSecImpl.h | 59 UINT8 PayloadLen; member
|
/device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/ |
D | UserIdentifyManager.c | 1241 UINTN PayloadLen; in ModifyUserInfo() local 1295 PayloadLen = Info->InfoSize - sizeof (EFI_USER_INFO); in ModifyUserInfo() 1296 if (PayloadLen == 0) { in ModifyUserInfo() 1300 if (CompareMem ((UINT8 *)(OldInfo + 1), (UINT8 *)(Info + 1), PayloadLen) != 0) { in ModifyUserInfo()
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/ |
D | FvImage.py | 905 PayloadLen = m.Size - m._HEADER_SIZE_ 907 Payload.frombuffer(m._BUF_, m._OFF_ + m._HEADER_SIZE_, PayloadLen)
|