tcp: Do not include the tcp_packet.h file in the ip4_packet.h 31/35331/1
authorNeale Ranns <neale@graphiant.com>
Tue, 15 Feb 2022 09:02:27 +0000 (09:02 +0000)
committerNeale Ranns <neale@graphiant.com>
Tue, 15 Feb 2022 09:02:27 +0000 (09:02 +0000)
commitf7040f01a57618c899de8d1feb30bcc70b0a45b9
treef23942c61b8a3b8cc496c054d0d2071a85b330c9
parentcdaf0d8c884ae0f337ef94b0ceb7449c991a3e6c
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 <neale@graphiant.com>
Change-Id: I4a1bd21543b08b9c1cf1e5563da738414734a878
18 files changed:
src/plugins/dpdk/device/node.c
src/plugins/mss_clamp/mss_clamp_node.c
src/plugins/nat/pnat/pnat_api.c
src/plugins/nat/pnat/pnat_node.h
src/plugins/vmxnet3/input.c
src/plugins/wireguard/wireguard.h
src/vnet/devices/virtio/node.c
src/vnet/devices/virtio/vhost_user_input.c
src/vnet/devices/virtio/virtio.h
src/vnet/flow/flow.h
src/vnet/gso/hdr_offset_parser.h
src/vnet/hash/hash_eth.c
src/vnet/interface_output.h
src/vnet/ip/ip4_inlines.h
src/vnet/ip/ip4_packet.h
src/vnet/ip/ip6_packet.h
src/vnet/ip6-nd/rd_cp_api.c
src/vnet/tcp/tcp_packet.h