diff options
author | Neale Ranns <nranns@cisco.com> | 2019-06-03 13:21:40 +0000 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-06-06 12:12:58 +0000 |
commit | 922077505b43f9560550653f530cf93acc81044d (patch) | |
tree | 99bbd28d90de7b1b4db986a5586c04143a8f0c61 /src/vnet/ip/ip4.h | |
parent | 831f4200cab2b363f2a8ea340331343c14407b7d (diff) |
IP-Punt-redirect: allow the use of a FIB path to describe how to
redirect
Change-Id: I2a3ba2a3d73ea8511e3a511855b041432328f0a8
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/ip/ip4.h')
-rw-r--r-- | src/vnet/ip/ip4.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/ip/ip4.h b/src/vnet/ip/ip4.h index 9f25f43b98e..0ead3faa1b8 100644 --- a/src/vnet/ip/ip4.h +++ b/src/vnet/ip/ip4.h @@ -302,6 +302,9 @@ void ip4_punt_policer_add_del (u8 is_add, u32 policer_index); void ip4_punt_redirect_add (u32 rx_sw_if_index, u32 tx_sw_if_index, ip46_address_t * nh); +void ip4_punt_redirect_add_paths (u32 rx_sw_if_index, + fib_route_path_t * paths); + void ip4_punt_redirect_del (u32 rx_sw_if_index); /* Compute flow hash. We'll use it to select which adjacency to use for this |