Annotation of fwsync/patches/ip_fw_private_h.patch, revision 1.2

1.1       misho       1: diff --git a/sys/netpfil/ipfw/ip_fw_private.h b/sys/netpfil/ipfw/ip_fw_private.h
                      2: index 56624209e4c..2074d3f8d35 100644
                      3: --- a/sys/netpfil/ipfw/ip_fw_private.h
                      4: +++ b/sys/netpfil/ipfw/ip_fw_private.h
                      5: @@ -251,6 +251,18 @@ VNET_DECLARE(unsigned int, fw_tables_sets);
                      6:  
                      7:  struct tables_config;
                      8:  
1.2     ! misho       9: +typedef int (*ipfw_hook_t)(void *arg);
1.1       misho      10: +/* callback hooks for notify on update of internal states and aliases */
                     11: +VNET_DECLARE(ipfw_hook_t, hook_state);
                     12: +#define V_hook_state          VNET(hook_state)
                     13: +VNET_DECLARE(ipfw_hook_t, hook_alias);
                     14: +#define V_hook_alias          VNET(hook_alias)
                     15: +
                     16: +#define ipfw_unregister_state_hook()  V_hook_state = NULL
                     17: +#define ipfw_unregister_alias_hook()  V_hook_alias = NULL
                     18: +#define ipfw_register_state_hook(_hcb)        V_hook_state = (_hcb)
                     19: +#define ipfw_register_alias_hook(_hcb)        V_hook_alias = (_hcb)
                     20: +
                     21:  #ifdef _KERNEL
                     22:  /*
                     23:   * Here we have the structure representing an ipfw rule.

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>