version 1.2, 2022/07/04 12:18:33
|
version 1.3, 2022/07/11 17:03:15
|
Line 1
|
Line 1
|
diff --git a/sys/netpfil/ipfw/ip_fw_private.h b/sys/netpfil/ipfw/ip_fw_private.h |
diff --git a/sys/netpfil/ipfw/ip_fw_private.h b/sys/netpfil/ipfw/ip_fw_private.h |
index 56624209e4c..2074d3f8d35 100644 | index 1440b1a40ee..9944edaba3c 100644 |
--- a/sys/netpfil/ipfw/ip_fw_private.h |
--- a/sys/netpfil/ipfw/ip_fw_private.h |
+++ b/sys/netpfil/ipfw/ip_fw_private.h |
+++ b/sys/netpfil/ipfw/ip_fw_private.h |
@@ -251,6 +251,18 @@ VNET_DECLARE(unsigned int, fw_tables_sets); |
@@ -251,6 +251,18 @@ VNET_DECLARE(unsigned int, fw_tables_sets); |
|
|
struct tables_config; |
struct tables_config; |
|
|
+typedef int (*ipfw_hook_t)(void *arg); | +typedef int (*ipfw_hook_t)(const void *arg); |
+/* callback hooks for notify on update of internal states and aliases */ |
+/* callback hooks for notify on update of internal states and aliases */ |
+VNET_DECLARE(ipfw_hook_t, hook_state); |
+VNET_DECLARE(ipfw_hook_t, hook_state); |
+#define V_hook_state VNET(hook_state) |
+#define V_hook_state VNET(hook_state) |