diff options
author | Neale Ranns <neale.ranns@cisco.com> | 2020-11-26 14:15:33 +0000 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2020-11-27 12:25:23 +0000 |
commit | 6dc0c8d14745e1d55f62415a3a40454ff820d9ad (patch) | |
tree | 6e17a5281606a770ebe25a7573f467f7500a12d3 /src/vnet/ip/ip.h | |
parent | 633122e1fd06a3f09e3cd08732fc49b5d0028221 (diff) |
ip: Sub Address Family types. Feature enable for each SAFI
Type: improvement
Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Change-Id: I318424ffa569d9a09187066d6ba15576757c1cf6
Diffstat (limited to 'src/vnet/ip/ip.h')
-rw-r--r-- | src/vnet/ip/ip.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/vnet/ip/ip.h b/src/vnet/ip/ip.h index 3fa97267b36..6d822d29dbe 100644 --- a/src/vnet/ip/ip.h +++ b/src/vnet/ip/ip.h @@ -278,6 +278,14 @@ u8 ip_is_local (u32 fib_index, ip46_address_t * ip46_address, u8 is_ip4); void ip_copy (ip46_address_t * dst, ip46_address_t * src, u8 is_ip4); void ip_set (ip46_address_t * dst, void *src, u8 is_ip4); +void ip_feature_enable_disable (ip_address_family_t af, + ip_sub_address_family_t safi, + ip_feature_location_t loc, + const char *feature, + u32 sw_if_index, int enable_disable, + void *feature_config, + u32 n_feature_config_bytes); + always_inline u32 vlib_buffer_get_ip4_fib_index (vlib_buffer_t * b); always_inline u32 vlib_buffer_get_ip6_fib_index (vlib_buffer_t * b); always_inline u32 |