version 1.4, 2022/07/11 15:59:42
|
version 1.7, 2022/08/10 00:03:49
|
Line 45
|
Line 45
|
#include <netpfil/ipfw/ip_fw_private.h> |
#include <netpfil/ipfw/ip_fw_private.h> |
|
|
#include "fwsync_proto.h" |
#include "fwsync_proto.h" |
#include "fwsync_workers.h" |
|
#include "fwsync_utils.h" |
#include "fwsync_utils.h" |
|
#include "fwsync_workers.h" |
|
|
|
|
#define IFT_FWSYNC 0xfc |
#define IFT_FWSYNC 0xfc |
Line 168 extern struct fwsync_context fws_ctx;
|
Line 168 extern struct fwsync_context fws_ctx;
|
extern struct cfg_sync fws_cfg; |
extern struct cfg_sync fws_cfg; |
extern struct task fws_sndpkt_task; |
extern struct task fws_sndpkt_task; |
extern struct taskqueue *fws_tq; |
extern struct taskqueue *fws_tq; |
extern struct mtx fws_mtx_c, fws_mtx_e; | extern struct callout fws_co; |
| extern struct mtx fws_mtx_c, fws_mtx_e, fws_mtx_u; |
extern struct mbuf *fws_sndpkt; |
extern struct mbuf *fws_sndpkt; |
extern fwsync_sndpkt_t fwsync_sndpkt; | extern fwsync_sndpkt_t fwsync_sndpkt, fwsync_updpkt; |
|
|
int fwsync_cfg(struct ip_fw_chain *ch, ip_fw3_opheader *op3, struct sockopt_data *sd); |
int fwsync_cfg(struct ip_fw_chain *ch, ip_fw3_opheader *op3, struct sockopt_data *sd); |
int fwsync_destroy(struct ip_fw_chain *ch, ip_fw3_opheader *op3, struct sockopt_data *sd); |
int fwsync_destroy(struct ip_fw_chain *ch, ip_fw3_opheader *op3, struct sockopt_data *sd); |