Searched refs:Icmp (Results 1 - 5 of 5) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/Ip4Dxe/
H A DIp4Icmp.c88 @param[in] Icmp The buffer to store the ICMP error message if
100 IN IP4_ICMP_ERROR_HEAD *Icmp
115 IpIf = Ip4FindInterface (IpSb, NTOHL (Icmp->IpHead.Src));
116 Gateway = NTOHL (Icmp->Fourth);
138 Dst = NTOHL (Icmp->IpHead.Dst);
139 Src = NTOHL (Icmp->IpHead.Src);
178 IP4_ICMP_ERROR_HEAD Icmp; local
180 if (Packet->TotalSize < sizeof (Icmp)) {
185 NetbufCopy (Packet, 0, sizeof (Icmp), (UINT8 *) &Icmp);
220 IP4_ICMP_QUERY_HEAD *Icmp; local
297 IP4_ICMP_QUERY_HEAD Icmp; local
336 IP4_ICMP_HEAD Icmp; local
[all...]
H A DIp4Input.c970 IP4_ICMP_ERROR_HEAD Icmp; local
1002 NetbufCopy (Packet, 0, sizeof (Icmp.Head), (UINT8 *) &Icmp.Head);
1004 if (mIcmpClass[Icmp.Head.Type].IcmpClass == ICMP_ERROR_MESSAGE) {
1009 NetbufCopy (Packet, 0, sizeof (Icmp), (UINT8 *) &Icmp);
1010 Proto = Icmp.IpHead.Protocol;
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/Ip6Dxe/
H A DIp6Icmp.c140 IP6_ICMP_INFORMATION_HEAD *Icmp; local
161 Icmp = (IP6_ICMP_INFORMATION_HEAD *) NetbufGetByte (Data, 0, NULL);
162 if (Icmp == NULL) {
167 Icmp->Head.Type = ICMP_V6_ECHO_REPLY;
168 Icmp->Head.Checksum = 0;
231 IP6_ICMP_ERROR_HEAD Icmp; local
236 NetbufCopy (Packet, 0, sizeof (Icmp), (UINT8 *) &Icmp);
237 Mtu = NTOHL (Icmp.Fourth);
238 DestAddress = &Icmp
293 IP6_ICMP_ERROR_HEAD Icmp; local
342 IP6_ICMP_INFORMATION_HEAD Icmp; local
413 IP6_ICMP_HEAD Icmp; local
[all...]
H A DIp6Nd.c1458 IP6_ICMP_INFORMATION_HEAD Icmp; local
1476 NetbufCopy (Packet, 0, sizeof (Icmp), (UINT8 *) &Icmp);
1477 NetbufCopy (Packet, sizeof (Icmp), sizeof (Target), Target.Addr);
1488 if (Head->HopLimit != IP6_HOP_LIMIT || Icmp.Head.Code != 0 || !NetIp6IsValidUnicast (&Target)) {
1697 IP6_ICMP_INFORMATION_HEAD Icmp; local
1713 NetbufCopy (Packet, 0, sizeof (Icmp), (UINT8 *) &Icmp);
1714 NetbufCopy (Packet, sizeof (Icmp), sizeof (Target), Target.Addr);
1726 if (Head->HopLimit != IP6_HOP_LIMIT || Icmp
1929 IP6_ICMP_INFORMATION_HEAD Icmp; local
2383 IP6_ICMP_INFORMATION_HEAD *Icmp; local
[all...]
H A DIp6Input.c1283 IP6_ICMP_ERROR_HEAD Icmp; local
1337 NetbufCopy (Packet, 0, sizeof (Icmp), (UINT8 *) &Icmp);
1339 if (Icmp.Head.Type <= ICMP_V6_ERROR_MAX) {
1347 ErrMsgPayloadLen = NTOHS (Icmp.IpHead.PayloadLength);
1348 ErrMsgPayload = NetbufGetByte (Packet, sizeof (Icmp), NULL);
1353 &Icmp.IpHead.NextHeader,

Completed in 744 milliseconds