misc: deprecate lawful-intercept 13/40613/3
authorhsandid <halsandi@cisco.com>
Tue, 26 Mar 2024 17:44:19 +0000 (18:44 +0100)
committerDave Wallace <dwallacelf@gmail.com>
Fri, 29 Mar 2024 13:31:50 +0000 (13:31 +0000)
Type: refactor
Change-Id: Ifd7f5b351401cdcaaaf57fefc5dbbfdaf235054e
Signed-off-by: hsandid <halsandi@cisco.com>
extras/deprecated/vnet/lawful-intercept/lawful_intercept.c [moved from src/vnet/lawful-intercept/lawful_intercept.c with 100% similarity]
extras/deprecated/vnet/lawful-intercept/lawful_intercept.h [moved from src/vnet/lawful-intercept/lawful_intercept.h with 100% similarity]
extras/deprecated/vnet/lawful-intercept/node.c [moved from src/vnet/lawful-intercept/node.c with 100% similarity]
src/vnet/CMakeLists.txt
src/vnet/classify/vnet_classify.c
src/vnet/l2/l2_classify.h
src/vnet/l2/l2_input_classify.c

index 973a6c9..fb8d294 100644 (file)
@@ -894,23 +894,6 @@ list(APPEND VNET_HEADERS
   ipfix-export/flow_report_classify.h
 )
 
-##############################################################################
-# lawful intercept
-##############################################################################
-
-list(APPEND VNET_SOURCES
-  lawful-intercept/lawful_intercept.c
-  lawful-intercept/node.c
-)
-
-list(APPEND VNET_MULTIARCH_SOURCES
-  lawful-intercept/node.c
-)
-
-list(APPEND VNET_HEADERS
-  lawful-intercept/lawful_intercept.h
-)
-
 ##############################################################################
 # SPAN (port mirroring)
 ##############################################################################
index fc69449..77c1c81 100644 (file)
@@ -1331,12 +1331,11 @@ unformat_classify_mask (unformat_input_t * input, va_list * args)
   return 0;
 }
 
-#define foreach_l2_input_next                   \
-_(drop, DROP)                                   \
-_(ethernet, ETHERNET_INPUT)                     \
-_(ip4, IP4_INPUT)                               \
-_(ip6, IP6_INPUT)                              \
-_(li, LI)
+#define foreach_l2_input_next                                                 \
+  _ (drop, DROP)                                                              \
+  _ (ethernet, ETHERNET_INPUT)                                                \
+  _ (ip4, IP4_INPUT)                                                          \
+  _ (ip6, IP6_INPUT)
 
 uword
 unformat_l2_input_next_index (unformat_input_t * input, va_list * args)
index 68a2bb9..3c86fb5 100644 (file)
@@ -39,7 +39,6 @@ typedef enum
   L2_INPUT_CLASSIFY_NEXT_ETHERNET_INPUT,
   L2_INPUT_CLASSIFY_NEXT_IP4_INPUT,
   L2_INPUT_CLASSIFY_NEXT_IP6_INPUT,
-  L2_INPUT_CLASSIFY_NEXT_LI,
   L2_INPUT_CLASSIFY_N_NEXT,
 } l2_input_classify_next_t;
 
index 2481583..cc031bd 100644 (file)
@@ -461,7 +461,6 @@ VLIB_REGISTER_NODE (l2_input_classify_node) = {
     [L2_INPUT_CLASSIFY_NEXT_ETHERNET_INPUT] = "ethernet-input-not-l2",
     [L2_INPUT_CLASSIFY_NEXT_IP4_INPUT] = "ip4-input",
     [L2_INPUT_CLASSIFY_NEXT_IP6_INPUT] = "ip6-input",
-    [L2_INPUT_CLASSIFY_NEXT_LI] = "li-hit",
   },
 };