summaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/icmp4.c
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2019-10-09 18:35:16 +0200
committerDamjan Marion <dmarion@me.com>2019-10-14 22:44:35 +0000
commit26c7a4b0b6488423688f4a7f3c8aacf0d1b9c742 (patch)
treed6a38e691f0952717a034c101339a25ee660e2e7 /src/vnet/ip/icmp4.c
parentddc9eb48e6ef5b60c261d857fb3f574c3fa38f4e (diff)
ping: Move to plugin
Type: refactor Change-Id: I51d5bf54dfd408aa0c406cbdf0f4be10ef19d10d Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vnet/ip/icmp4.c')
-rw-r--r--src/vnet/ip/icmp4.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/vnet/ip/icmp4.c b/src/vnet/ip/icmp4.c
index 1cf6a93be50..1fab6471d2a 100644
--- a/src/vnet/ip/icmp4.c
+++ b/src/vnet/ip/icmp4.c
@@ -41,7 +41,6 @@
#include <vnet/ip/ip.h>
#include <vnet/pg/pg.h>
-
static char *icmp_error_strings[] = {
#define _(f,s) s,
foreach_icmp4_error
@@ -422,14 +421,6 @@ typedef enum
IP4_ICMP_ERROR_N_NEXT,
} ip4_icmp_error_next_t;
-void
-icmp4_error_set_vnet_buffer (vlib_buffer_t * b, u8 type, u8 code, u32 data)
-{
- vnet_buffer (b)->ip.icmp.type = type;
- vnet_buffer (b)->ip.icmp.code = code;
- vnet_buffer (b)->ip.icmp.data = data;
-}
-
static u8
icmp4_icmp_type_to_error (u8 type)
{