ip: reassembly - add a way to disable for forus 94/34994/11
authorKlement Sekera <ksekera@cisco.com>
Tue, 14 Dec 2021 18:25:11 +0000 (18:25 +0000)
committerOle Tr�an <otroan@employees.org>
Mon, 31 Jan 2022 15:07:58 +0000 (15:07 +0000)
commit01c1fa41f04fbc584165806d3f785cfbbd62cedc
treefeda9d118e6555ebd5b15b03da49f5b3fa13e1fe
parentcf1e8c1eeab1dc07d69210f410a086d7ae4eae90
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>
13 files changed:
src/vnet/ip/ip.api
src/vnet/ip/ip4_forward.c
src/vnet/ip/ip4_input.c
src/vnet/ip/ip4_input.h
src/vnet/ip/ip6_forward.c
src/vnet/ip/ip_api.c
src/vnet/ip/ip_test.c
src/vnet/ip/reass/ip4_full_reass.c
src/vnet/ip/reass/ip4_full_reass.h
src/vnet/ip/reass/ip6_full_reass.c
src/vnet/ip/reass/ip6_full_reass.h
test/Makefile
test/test_reassembly.py