summaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/reass/ip4_full_reass.h
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2021-12-14 18:25:11 +0000
committerOle Tr�an <otroan@employees.org>2022-01-31 15:07:58 +0000
commit01c1fa41f04fbc584165806d3f785cfbbd62cedc (patch)
treefeda9d118e6555ebd5b15b03da49f5b3fa13e1fe /src/vnet/ip/reass/ip4_full_reass.h
parentcf1e8c1eeab1dc07d69210f410a086d7ae4eae90 (diff)
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 <ksekera@cisco.com>
Diffstat (limited to 'src/vnet/ip/reass/ip4_full_reass.h')
-rw-r--r--src/vnet/ip/reass/ip4_full_reass.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/ip/reass/ip4_full_reass.h b/src/vnet/ip/reass/ip4_full_reass.h
index 000c80c5906..5df8107ca48 100644
--- a/src/vnet/ip/reass/ip4_full_reass.h
+++ b/src/vnet/ip/reass/ip4_full_reass.h
@@ -47,6 +47,9 @@ int ip4_full_reass_enable_disable_with_refcnt (u32 sw_if_index,
int is_enable);
uword ip4_full_reass_custom_register_next_node (uword node_index);
+
+void ip4_local_full_reass_enable_disable (int enable);
+int ip4_local_full_reass_enabled ();
#endif /* __included_ip4_full_reass_h__ */
/*