From 47527b24a8315b13e1002758a18357441df51be3 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Fri, 16 Nov 2018 00:53:53 -0800 Subject: IP-punt: add documentation to the API and fix IP address init Change-Id: I0bdff4dbfd81d67e82211ce9fdc97209a1b23c66 Signed-off-by: Neale Ranns --- src/vnet/ip/ip.api | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vnet/ip/ip.api') diff --git a/src/vnet/ip/ip.api b/src/vnet/ip/ip.api index cf25291b9bf..b08af5657fc 100644 --- a/src/vnet/ip/ip.api +++ b/src/vnet/ip/ip.api @@ -633,6 +633,8 @@ autoreply define ip_punt_police @param context - sender context, to match reply w/ request @param is_add - 1 to add neighbor, 0 to delete @param is_ipv6 - 1 for IPv6 neighbor, 0 for IPv4 + @param rx_sw_if_index - specify the original RX interface of traffic + that should be redirected. ~0 means any interface. @param tx_sw_if_index - the TX interface to which traffic shoulde be redirected. @param nh - The next-hop to redirect the traffic to. -- cgit 1.2.3-korg