From 01c1fa41f04fbc584165806d3f785cfbbd62cedc Mon Sep 17 00:00:00 2001 From: Klement Sekera Date: Tue, 14 Dec 2021 18:25:11 +0000 Subject: ip: reassembly - add a way to disable for forus Add API to disable full reassembly of "forus" packets. Mark packets passing through ip[4|6]-local nodes with a new buffer flag and check for that flag in reassembly. Enable IP6 "forus" full reassembly by default to be consistent with existing IP4 setting. Type: improvement Change-Id: I7067792fcd4304182654237968e4c4d9293c6143 Signed-off-by: Klement Sekera --- src/vnet/ip/ip_test.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/vnet/ip/ip_test.c') diff --git a/src/vnet/ip/ip_test.c b/src/vnet/ip/ip_test.c index f87b47f8912..7c994868d87 100644 --- a/src/vnet/ip/ip_test.c +++ b/src/vnet/ip/ip_test.c @@ -1014,6 +1014,24 @@ api_ip_reassembly_enable_disable (vat_main_t *vat) return -1; } +static int +api_ip_local_reass_enable_disable (vat_main_t *vat) +{ + return -1; +} + +static int +api_ip_local_reass_get (vat_main_t *vat) +{ + return -1; +} + +static void +vl_api_ip_local_reass_get_reply_t_handler ( + vl_api_ip_local_reass_get_reply_t *mp) +{ +} + static void vl_api_ip_reassembly_get_reply_t_handler (vl_api_ip_reassembly_get_reply_t *mp) { -- cgit 1.2.3-korg