X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fmap%2Fmap.api;h=b15b38a3d19061b68935dba0a914769a60f4a2bd;hb=34af0ccf5cf27d8a72119626d2d009222e4ff0a6;hp=74133c9df230f46e9dd2f0e6dcbe24cf0f9143f1;hpb=4dc5c7b905d9ccfa24f6fd7365a7d656c3efaa78;p=vpp.git diff --git a/src/plugins/map/map.api b/src/plugins/map/map.api index 74133c9df23..b15b38a3d19 100644 --- a/src/plugins/map/map.api +++ b/src/plugins/map/map.api @@ -13,7 +13,7 @@ * limitations under the License. */ -option version = "3.1.0"; +option version = "4.0.0"; import "vnet/ip/ip_types.api"; @@ -24,7 +24,7 @@ import "vnet/ip/ip_types.api"; @param ip4_prefix - Rule IPv4 prefix @param ip6_src - MAP domain IPv6 BR address / Tunnel source @param ea_bits_len - Embedded Address bits length - @param psid_offset - Port Set Identifider (PSID) offset + @param psid_offset - Port Set Identifier (PSID) offset @param psid_length - PSID length @param mtu - MTU @param tag - A user field stored with the MAP @@ -40,7 +40,7 @@ define map_add_domain u8 psid_offset; u8 psid_length; u16 mtu; - string tag; + string tag[limit=64]; }; /** \brief Reply for MAP domain add @@ -103,7 +103,7 @@ define map_domain_dump @param ip4_prefix - Rule IPv4 prefix @param ip6_src - MAP domain IPv6 BR address / Tunnel source @param ea_bits_len - Embedded Address bits length - @param psid_offset - Port Set Identifider (PSID) offset + @param psid_offset - Port Set Identifier (PSID) offset @param psid_length - PSID length @param flags - @param mtu - MTU @@ -121,7 +121,7 @@ define map_domain_details u8 psid_length; u8 flags; u16 mtu; - string tag; + string tag[limit=64]; }; define map_rule_dump @@ -281,19 +281,19 @@ autoreply define map_param_set_security_check /** \brief Set MAP traffic class parameters @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request - @param copy - 1 = copy packet class/TOS field, 0 = use class instead - @param class - class field value when copy == 0 + @param copy - 1 = copy packet class/TOS field, 0 = use tc_class instead + @param tc_class - class field value when copy == 0 */ autoreply define map_param_set_traffic_class { u32 client_index; u32 context; bool copy; - u8 class; + u8 tc_class; }; -/** \brief Set MAP TCP parammeters +/** \brief Set MAP TCP parameters @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @parma tcp_mss - TCP MSS clamping value