summaryrefslogtreecommitdiffstats
path: root/src/net/ipv4.c
diff options
context:
space:
mode:
authorMichael Brown2013-10-21 15:10:07 +0200
committerMichael Brown2013-10-21 16:08:12 +0200
commit5c2ffc26cc9b73ef60cbd123cd90f499dc01bbc2 (patch)
tree5dc77a8f4b54549e1468ecf93d1cd5cc454f6e60 /src/net/ipv4.c
parent[resolv] Use sock_aton() to allow parsing of arbitrary numeric addresses (diff)
downloadipxe-5c2ffc26cc9b73ef60cbd123cd90f499dc01bbc2.tar.gz
ipxe-5c2ffc26cc9b73ef60cbd123cd90f499dc01bbc2.tar.xz
ipxe-5c2ffc26cc9b73ef60cbd123cd90f499dc01bbc2.zip
[icmp] Add support for sending ICMP echo requests
Merge common functionality between IPv4 and IPv6 ICMP echo handling, and add support for transmitting ICMP echo requests and delivering ICMP echo replies to a (not yet implemented) ping_rx() function. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/ipv4.c')
-rw-r--r--src/net/ipv4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ipv4.c b/src/net/ipv4.c
index 7956d18b..438fe9ac 100644
--- a/src/net/ipv4.c
+++ b/src/net/ipv4.c
@@ -669,5 +669,5 @@ struct settings_applicator ipv4_settings_applicator __settings_applicator = {
.apply = ipv4_create_routes,
};
-/* Drag in ICMP */
-REQUIRE_OBJECT ( icmp );
+/* Drag in ICMPv4 */
+REQUIRE_OBJECT ( icmpv4 );