-Copyright (c) 2005 - 2009, Intel Corporation.<BR>\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
http://opensource.org/licenses/bsd-license.php\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
http://opensource.org/licenses/bsd-license.php\r
All kinds of redirect is treated as host redirect as\r
specified by RFC1122 3.3.1.2:\r
"Since the subnet mask appropriate to the destination\r
All kinds of redirect is treated as host redirect as\r
specified by RFC1122 3.3.1.2:\r
"Since the subnet mask appropriate to the destination\r
the packet.\r
@param[in] Head The IP head of the received ICMPpacket.\r
@param[in] Packet The content of the ICMP redirect packet with IP\r
the packet.\r
@param[in] Head The IP head of the received ICMPpacket.\r
@param[in] Packet The content of the ICMP redirect packet with IP\r
update call Ip4ProcessIcmpRedirect to update the IP instance's\r
route cache, otherwise, deliver the packet to upper layer.\r
\r
update call Ip4ProcessIcmpRedirect to update the IP instance's\r
route cache, otherwise, deliver the packet to upper layer.\r
\r
- @param[in] IpSb The IP service that received the packet.\r
- @param[in] Head The IP head of the ICMP error packet\r
- @param[in] Packet The content of the ICMP error with IP head\r
+ @param[in] IpSb The IP4 service that received the packet.\r
+ @param[in] Head The IP4 head of the ICMP error packet\r
+ @param[in] Packet The content of the ICMP error with IP4 head\r
removed.\r
\r
@retval EFI_SUCCESS The ICMP error is processed successfully.\r
@retval EFI_INVALID_PARAMETER The packet is invalid\r
@retval Others Failed to process the packet.\r
removed.\r
\r
@retval EFI_SUCCESS The ICMP error is processed successfully.\r
@retval EFI_INVALID_PARAMETER The packet is invalid\r
@retval Others Failed to process the packet.\r
- return Ip4Demultiplex (IpSb, Head, Packet);\r
+ return Ip4Demultiplex (IpSb, Head, Packet, NULL, 0);\r
- @param[in] IpSb The IP service that receivd the packet\r
- @param[in] Head The IP head of the ICMP error packet\r
- @param[in] Packet The content of the ICMP error with IP head\r
+ @param[in] IpSb The IP4 service that receivd the packet\r
+ @param[in] Head The IP4 head of the ICMP error packet\r
+ @param[in] Packet The content of the ICMP error with IP4 head\r
Icmp->Head.Type = ICMP_ECHO_REPLY;\r
Icmp->Head.Checksum = 0;\r
Icmp->Head.Checksum = (UINT16) (~NetblockChecksum ((UINT8 *) Icmp, Data->TotalSize));\r
Icmp->Head.Type = ICMP_ECHO_REPLY;\r
Icmp->Head.Checksum = 0;\r
Icmp->Head.Checksum = (UINT16) (~NetblockChecksum ((UINT8 *) Icmp, Data->TotalSize));\r
Process the ICMP query message. If it is an ICMP echo\r
request, answer it. Otherwise deliver it to upper layer.\r
\r
Process the ICMP query message. If it is an ICMP echo\r
request, answer it. Otherwise deliver it to upper layer.\r
\r
- @param[in] IpSb The IP service that receivd the packet\r
- @param[in] Head The IP head of the ICMP query packet\r
- @param[in] Packet The content of the ICMP query with IP head\r
+ @param[in] IpSb The IP4 service that receivd the packet\r
+ @param[in] Head The IP4 head of the ICMP query packet\r
+ @param[in] Packet The content of the ICMP query with IP4 head\r
- return Ip4Demultiplex (IpSb, Head, Packet);\r
+ return Ip4Demultiplex (IpSb, Head, Packet, NULL, 0);\r
- @param[in] IpSb The IP service that receivd the packet\r
- @param[in] Head The IP head of the ICMP query packet\r
- @param[in] Packet The content of the ICMP query with IP head\r
+ @param[in] IpSb The IP4 service that receivd the packet.\r
+ @param[in] Head The IP4 head of the ICMP query packet.\r
+ @param[in] Packet The content of the ICMP query with IP4 head\r