diff options
author | Neale Ranns <neale.ranns@cisco.com> | 2020-10-26 13:00:06 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-10-28 16:55:35 +0000 |
commit | e4031131ccddd7c4eb683b36f1a97a65dcff008a (patch) | |
tree | ef469ab6a2188bd3ce7ab0daacb0d9ef14fca632 /src/vnet/dpo | |
parent | 224a3c03d9aa34259ac3816c0039f2776d6da5ef (diff) |
misc: Break the big IP header files to improve compile time
Type: refactor
Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Change-Id: Id1801519638a9b97175847d7ed58824fb83433d6
Diffstat (limited to 'src/vnet/dpo')
-rw-r--r-- | src/vnet/dpo/l3_proxy_dpo.h | 1 | ||||
-rw-r--r-- | src/vnet/dpo/load_balance.c | 3 | ||||
-rw-r--r-- | src/vnet/dpo/receive_dpo.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/vnet/dpo/l3_proxy_dpo.h b/src/vnet/dpo/l3_proxy_dpo.h index 3a578e29924..e36edfc2ce2 100644 --- a/src/vnet/dpo/l3_proxy_dpo.h +++ b/src/vnet/dpo/l3_proxy_dpo.h @@ -22,7 +22,6 @@ #define __L3_PROXY_DPO_H__ #include <vnet/dpo/dpo.h> -#include <vnet/ip/ip6.h> typedef struct l3_proxy_dpo_t_ { diff --git a/src/vnet/dpo/load_balance.c b/src/vnet/dpo/load_balance.c index c029341f147..c0c440c25f2 100644 --- a/src/vnet/dpo/load_balance.c +++ b/src/vnet/dpo/load_balance.c @@ -13,7 +13,6 @@ * limitations under the License. */ -#include <vnet/ip/lookup.h> #include <vnet/dpo/load_balance.h> #include <vnet/dpo/load_balance_map.h> #include <vnet/dpo/drop_dpo.h> @@ -23,6 +22,8 @@ #include <vnet/fib/fib_urpf_list.h> #include <vnet/bier/bier_fwd.h> #include <vnet/fib/mpls_fib.h> +#include <vnet/ip/ip4_inlines.h> +#include <vnet/ip/ip6_inlines.h> /* * distribution error tolerance for load-balancing diff --git a/src/vnet/dpo/receive_dpo.h b/src/vnet/dpo/receive_dpo.h index 9459fbcc279..e329cdfb6f2 100644 --- a/src/vnet/dpo/receive_dpo.h +++ b/src/vnet/dpo/receive_dpo.h @@ -21,7 +21,7 @@ #define __RECEIVE_DPO_H__ #include <vnet/dpo/dpo.h> -#include <vnet/ip/ip6.h> +#include <vnet/ip/ip46_address.h> typedef struct receive_dpo_t_ { |