aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/fib
diff options
context:
space:
mode:
authorAkshayaNadahalli <anadahal@cisco.com>2017-02-10 10:54:16 +0530
committerNeale Ranns <nranns@cisco.com>2017-02-13 15:58:12 +0000
commit0f438df9918911a976751f2391421cc8b4b6fdb7 (patch)
tree24a692c6a96ad4d6f1185967dda05142769eec69 /src/vnet/fib
parent466f0d46d242aea1a598f5a9922528aa38d1653b (diff)
Out-of-tree Build Error fix
File vnet/fib/fib_urpf_list.h was included in vnet/fib/ip6_fib.h but was exported to be installed in /usr/include/vnet. So out-of-tree builds relying on an installed package was failing. Fix is to inlcude fib_urpf_list.h in source file rather than including it in header file. Change-Id: Iae39c1d9417dbd31ee67fa1bd2d1915d5e813c73 Signed-off-by: AkshayaNadahalli <anadahal@cisco.com>
Diffstat (limited to 'src/vnet/fib')
-rw-r--r--src/vnet/fib/ip6_fib.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/vnet/fib/ip6_fib.h b/src/vnet/fib/ip6_fib.h
index e460e2ff..af864a75 100644
--- a/src/vnet/fib/ip6_fib.h
+++ b/src/vnet/fib/ip6_fib.h
@@ -20,7 +20,6 @@
#include <vnet/ip/format.h>
#include <vnet/fib/fib_entry.h>
#include <vnet/fib/fib_table.h>
-#include <vnet/fib/fib_urpf_list.h>
#include <vnet/ip/lookup.h>
#include <vnet/dpo/load_balance.h>
@@ -68,27 +67,6 @@ extern void ip6_fib_table_walk(u32 fib_index,
void *ctx);
/**
- * @brief returns number of links on which src is reachable.
- */
-always_inline int
-ip6_urpf_loose_check (ip6_main_t * im,
- vlib_buffer_t * b,
- ip6_header_t * i)
-{
- const load_balance_t *lb0;
- index_t lbi;
-
- lbi = ip6_fib_table_fwding_lookup_with_if_index(
- im,
- vnet_buffer (b)->sw_if_index[VLIB_RX],
- &i->src_address);
-
- lb0 = load_balance_get(lbi);
-
- return (fib_urpf_check_size (lb0->lb_urpf));
-}
-
-/**
* @brief return the DPO that the LB stacks on.
*/
always_inline u32