diff options
author | Florin Coras <fcoras@cisco.com> | 2020-10-20 14:59:43 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2020-10-21 10:56:34 +0000 |
commit | b040f98a88954ccf2e63fd7b2676865a2dbe0078 (patch) | |
tree | 8dd81604626dbb5cda19540a439e491a197e5491 /src/vnet/gso | |
parent | 8aa18562152b0d135a72d27e3dd72a831b68d0ce (diff) |
misc: minimize dependencies on udp.h
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Id13f33843b230a1d169560742c4f7b2dc17d8718
Diffstat (limited to 'src/vnet/gso')
-rw-r--r-- | src/vnet/gso/gro_func.h | 2 | ||||
-rw-r--r-- | src/vnet/gso/hdr_offset_parser.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/vnet/gso/gro_func.h b/src/vnet/gso/gro_func.h index 95def6f8eba..96a03ce7542 100644 --- a/src/vnet/gso/gro_func.h +++ b/src/vnet/gso/gro_func.h @@ -19,6 +19,8 @@ #include <vnet/ethernet/ethernet.h> #include <vnet/gso/gro.h> #include <vnet/gso/hdr_offset_parser.h> +#include <vnet/ip/ip4.h> +#include <vnet/ip/ip6.h> #include <vnet/udp/udp_packet.h> #include <vnet/tcp/tcp.h> #include <vnet/vnet.h> diff --git a/src/vnet/gso/hdr_offset_parser.h b/src/vnet/gso/hdr_offset_parser.h index bfe04217fa2..e846aaa6fd2 100644 --- a/src/vnet/gso/hdr_offset_parser.h +++ b/src/vnet/gso/hdr_offset_parser.h @@ -19,7 +19,7 @@ #include <vnet/ethernet/ethernet.h> #include <vnet/ip/ip4_packet.h> #include <vnet/ip/ip6_packet.h> -#include <vnet/udp/udp.h> +#include <vnet/udp/udp_local.h> #include <vnet/udp/udp_packet.h> #include <vnet/vnet.h> #include <vnet/vxlan/vxlan_packet.h> |