ip: add VNET_IP_TABLE_ADD_DEL_FUNCTION
[vpp.git] / src / vnet / vnet.h
index 3b20f71..42f7333 100644 (file)
@@ -47,6 +47,7 @@
 #include <vnet/config.h>
 #include <vnet/interface.h>
 #include <vnet/api_errno.h>
+#include <vnet/ip/ip_table.h>
 
 typedef struct vnet_main_t
 {
@@ -71,6 +72,9 @@ typedef struct vnet_main_t
 
   uword *interface_tag_by_sw_if_index;
 
+    _vnet_ip_table_function_list_elt_t
+    * ip_table_add_del_functions[VNET_ITF_FUNC_N_PRIO];
+
   /*
    * Last "api" error, preserved so we can issue reasonable diagnostics
    * at or near the top of the food chain