From f7040f01a57618c899de8d1feb30bcc70b0a45b9 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Tue, 15 Feb 2022 09:02:27 +0000 Subject: tcp: Do not include the tcp_packet.h file in the ip4_packet.h Type: refactor IP4 does not depend on TCP (it's the other way around). This upside down dependency leads to some nasty circular includes when trying to use ip46_address.h in interface.h Signed-off-by: Neale Ranns Change-Id: I4a1bd21543b08b9c1cf1e5563da738414734a878 --- src/vnet/interface_output.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vnet/interface_output.h') diff --git a/src/vnet/interface_output.h b/src/vnet/interface_output.h index 786b0ff8e21..b512d9a04a8 100644 --- a/src/vnet/interface_output.h +++ b/src/vnet/interface_output.h @@ -41,6 +41,7 @@ #define __INTERFACE_INLINES_H__ #include +#include static_always_inline void vnet_calc_ip4_checksums (vlib_main_t *vm, vlib_buffer_t *b, ip4_header_t *ip4, -- cgit 1.2.3-korg