summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/lib/inlines.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-10-20 14:59:43 -0700
committerDave Barach <openvpp@barachs.net>2020-10-21 10:56:34 +0000
commitb040f98a88954ccf2e63fd7b2676865a2dbe0078 (patch)
tree8dd81604626dbb5cda19540a439e491a197e5491 /src/plugins/nat/lib/inlines.h
parent8aa18562152b0d135a72d27e3dd72a831b68d0ce (diff)
misc: minimize dependencies on udp.h
Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Id13f33843b230a1d169560742c4f7b2dc17d8718
Diffstat (limited to 'src/plugins/nat/lib/inlines.h')
-rw-r--r--src/plugins/nat/lib/inlines.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/nat/lib/inlines.h b/src/plugins/nat/lib/inlines.h
index 107944915cd..fe1f7dd27bc 100644
--- a/src/plugins/nat/lib/inlines.h
+++ b/src/plugins/nat/lib/inlines.h
@@ -18,6 +18,8 @@
#ifndef included_nat_inlines_h__
#define included_nat_inlines_h__
+#include <vnet/ip/icmp46_packet.h>
+
always_inline nat_protocol_t
ip_proto_to_nat_proto (u8 ip_proto)
{