X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fsrv6%2Fsr.api;h=543f3fd7d00477cfd207ca1dc79849311a8e16fe;hb=79bfd272546dd436a4d12f0ac98571194965dab0;hp=27b5ac6f89e556d8f546d5c88eae1a75794114e7;hpb=3337bd22002e9b78459082c34f7b78370b177eb0;p=vpp.git diff --git a/src/vnet/srv6/sr.api b/src/vnet/srv6/sr.api index 27b5ac6f89e..543f3fd7d00 100644 --- a/src/vnet/srv6/sr.api +++ b/src/vnet/srv6/sr.api @@ -14,16 +14,16 @@ * limitations under the License. */ -option version = "1.2.0"; +option version = "1.2.1"; /** \brief SRv6 SID */ -typeonly define srv6_sid +typedef srv6_sid { u8 addr[16]; }; -typeonly define srv6_sid_list +typedef srv6_sid_list { u8 num_sids; u32 weight; @@ -59,7 +59,7 @@ autoreply define sr_localsid_add_del u8 nh_addr4[4]; }; -typeonly define sr_ip6_address +typedef sr_ip6_address { u8 data[16]; }; @@ -137,6 +137,18 @@ autoreply define sr_set_encap_source u8 encaps_source[16]; }; +/** \brief IPv6 SR Set SRv6 encapsulation hop-limit + @param client_index - opaque cookie to identify the sender + @param context - sender context, to match reply w/ request + @param hop_limit is the hop-limit value to set +*/ +autoreply define sr_set_encap_hop_limit +{ + u32 client_index; + u32 context; + u8 hop_limit; +}; + /** \brief IPv6 SR steering add/del @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request