From 6d4dbd4f29d6789cf4ea799d0b2eb9d489fa339d Mon Sep 17 00:00:00 2001 From: Steven Luong Date: Mon, 18 Nov 2024 12:08:57 -0800 Subject: session: add auto sdl New CLI to enable/disable auto-sdl (requires session enable rt-backend sdl) auto-sdl [threshold ] [remove-timeout ] threshold is defined as the number of packets before the SDL entry is created to deny the source. remove-timeout is defined as the duration to remove the SDL entry which was created earlier. Type: feature Change-Id: I513094a59663970beae33257006c652674643764 Signed-off-by: Steven Luong --- src/plugins/auto_sdl/plugin.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/plugins/auto_sdl/plugin.c (limited to 'src/plugins/auto_sdl/plugin.c') diff --git a/src/plugins/auto_sdl/plugin.c b/src/plugins/auto_sdl/plugin.c new file mode 100644 index 00000000000..a401fc71db6 --- /dev/null +++ b/src/plugins/auto_sdl/plugin.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright (c) 2024 Cisco Systems, Inc. + */ + +#include +#include + +VLIB_PLUGIN_REGISTER () = { + .version = VPP_BUILD_VER, + .description = "Auto SDL", +}; -- cgit