X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fsrv6%2Fsr.h;h=f804b190135a805fb30c2f3cd3e2dfb58f9eef13;hb=79bfd272546dd436a4d12f0ac98571194965dab0;hp=6a228c8fc23f5b6e0da2da2040bfb0af0403fa50;hpb=f2833e42c1e3721ce06b0f510447d8a6dd3e5eb4;p=vpp.git 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,