From ab9a59c19a2765e001dd24a8f3e51882b6806e2d Mon Sep 17 00:00:00 2001 From: Matus Fabian Date: Wed, 16 Aug 2017 05:37:36 -0700 Subject: SNAT: Make proto optional in nat64_bib_dump (VPP-942) make proto optional in nat64_bib_dump and nat64_st_dump Change-Id: Idd102ce2b1555d38783fd22c84e46b4c48570edc Signed-off-by: Matus Fabian --- src/plugins/snat/snat.api | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/plugins/snat/snat.api') diff --git a/src/plugins/snat/snat.api b/src/plugins/snat/snat.api index f68a5aaa146..3c493ddae5b 100644 --- a/src/plugins/snat/snat.api +++ b/src/plugins/snat/snat.api @@ -735,7 +735,11 @@ define nat64_interface_details { /** \brief Dump NAT64 BIB @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request - @param proto - protocol of the BIB + @param proto - protocol of the BIB: 255 - all BIBs + 6 - TCP BIB + 17 - UDP BIB + 1/58 - ICMP BIB + otherwise - "unknown" protocol BIB */ define nat64_bib_dump { u32 client_index; @@ -816,7 +820,11 @@ define nat64_get_timeouts_reply { /** \brief Dump NAT64 session table @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request - @param proto - protocol of the session table + @param proto - protocol of the session table: 255 - all STs + 6 - TCP ST + 17 - UDP ST + 1/58 - ICMP ST + otherwise - "unknown" proto ST */ define nat64_st_dump { u32 client_index; -- cgit 1.2.3-korg