aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/srv6/sr.h
diff options
context:
space:
mode:
authorPablo Camarillo <pcamaril@cisco.com>2019-12-18 17:13:13 +0000
committerNeale Ranns <nranns@cisco.com>2020-03-12 08:31:42 +0000
commit79bfd272546dd436a4d12f0ac98571194965dab0 (patch)
tree2610496dd4a94cf3c0d4a3da1b1e7cc5855d7c71 /src/vnet/srv6/sr.h
parentf2833e42c1e3721ce06b0f510447d8a6dd3e5eb4 (diff)
sr: SRv6 uN behavior
Implements the uN behavior Type: feature Change-Id: Icb5efc560e09052cd183b468772cf7f799f81194 Signed-off-by: pcamaril <pcamaril@cisco.com>
Diffstat (limited to 'src/vnet/srv6/sr.h')
-rwxr-xr-xsrc/vnet/srv6/sr.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/vnet/srv6/sr.h b/src/vnet/srv6/sr.h
index 6a228c8fc23..f804b190135 100755
--- a/src/vnet/srv6/sr.h
+++ b/src/vnet/srv6/sr.h
@@ -119,7 +119,7 @@ typedef struct
{
ip6_address_t localsid; /**< LocalSID IPv6 address */
- u16 localsid_len;
+ u16 localsid_prefix_len;
char end_psp; /**< Combined with End.PSP? */
@@ -331,10 +331,10 @@ extern int sr_policy_mod (ip6_address_t * bsid, u32 index, u32 fib_table,
extern int sr_policy_del (ip6_address_t * bsid, u32 index);
extern int
-sr_cli_localsid (char is_del, ip6_address_t * localsid_addr, u16 prefixlen,
- char end_psp, u8 behavior, u32 sw_if_index,
- u32 vlan_index, u32 fib_table, ip46_address_t * nh_addr,
- void *ls_plugin_mem);
+sr_cli_localsid (char is_del, ip6_address_t * localsid_addr,
+ u16 localsid_prefix_len, char end_psp, u8 behavior,
+ u32 sw_if_index, u32 vlan_index, u32 fib_table,
+ ip46_address_t * nh_addr, void *ls_plugin_mem);
extern int
sr_steering_policy (int is_del, ip6_address_t * bsid, u32 sr_policy_index,