aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/ip.api
diff options
context:
space:
mode:
authorChore <s3m2e1.6star@gmail.com>2018-11-28 10:53:11 +0330
committerNeale Ranns <nranns@cisco.com>2018-11-29 13:44:53 +0000
commit3460b014a7bd5a19fb59ae335120bfa93ecb2c77 (patch)
tree724b89a8f1256c800d937e327064740f0e09abd3 /src/vnet/ip/ip.api
parent8e1cc46b2bba1ade546d611cdf7b6e48c97d90a1 (diff)
api: ip_source_check_interface_add_del api is added.
Change-Id: I4799a9d469c797e54669ff4b50851a9acc849427 Signed-off-by: Chore <s3m2e1.6star@gmail.com>
Diffstat (limited to 'src/vnet/ip/ip.api')
-rw-r--r--src/vnet/ip/ip.api16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/vnet/ip/ip.api b/src/vnet/ip/ip.api
index ca0088f962f..4b418bea71f 100644
--- a/src/vnet/ip/ip.api
+++ b/src/vnet/ip/ip.api
@@ -743,6 +743,22 @@ autoreply define ip_source_and_port_range_check_interface_add_del
u32 udp_out_vrf_id;
};
+/** \brief Set interface source check request
+ @param client_index - opaque cookie to identify the sender
+ @param context - sender context, to match reply w/ request
+ @param is_add - add or del
+ @param loose - strict or loose
+ @param sw_if_index - interface index
+*/
+autoreply define ip_source_check_interface_add_del
+{
+ u32 client_index;
+ u32 context;
+ u8 is_add;
+ u8 loose;
+ u32 sw_if_index;
+};
+
/** \brief Enable/disable periodic IP neighbor scan
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request