X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fsrv6%2Fsr.api;h=543f3fd7d00477cfd207ca1dc79849311a8e16fe;hb=79bfd272546dd436a4d12f0ac98571194965dab0;hp=e989ffe2f16aad19d142994edeba8082694ea923;hpb=e71748291171e53158e2d36d8f413fed1a137013;p=vpp.git diff --git a/src/vnet/srv6/sr.api b/src/vnet/srv6/sr.api index e989ffe2f16..543f3fd7d00 100644 --- a/src/vnet/srv6/sr.api +++ b/src/vnet/srv6/sr.api @@ -14,7 +14,7 @@ * limitations under the License. */ -option version = "1.2.0"; +option version = "1.2.1"; /** \brief SRv6 SID */ @@ -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