version 1.7, 2022/08/10 00:03:49
|
version 1.9, 2022/08/18 11:30:27
|
Line 28
|
Line 28
|
#include <sys/mutex.h> |
#include <sys/mutex.h> |
#include <sys/uio.h> |
#include <sys/uio.h> |
#include <sys/poll.h> |
#include <sys/poll.h> |
|
|
|
#include <netinet/libalias/alias.h> |
|
#include <netinet/libalias/alias_local.h> |
|
#include <netinet/libalias/alias_db.h> |
|
|
#include <net/if.h> |
#include <net/if.h> |
#include <net/if_var.h> |
#include <net/if_var.h> |
#include <net/if_dl.h> |
#include <net/if_dl.h> |
Line 35
|
Line 40
|
#include <netinet/ip.h> |
#include <netinet/ip.h> |
#include <netinet/ip_var.h> |
#include <netinet/ip_var.h> |
#include <netinet/udp.h> |
#include <netinet/udp.h> |
#include <netinet/libalias/alias.h> |
|
#include <netinet/libalias/alias_local.h> |
|
#include <netinet/libalias/alias_db.h> |
|
|
|
#define IPFW_INTERNAL |
|
|
|
#include <netinet/ip_fw.h> |
#include <netinet/ip_fw.h> |
|
|
#include <netpfil/ipfw/ip_fw_private.h> |
#include <netpfil/ipfw/ip_fw_private.h> |
|
|
#include "fwsync_proto.h" |
#include "fwsync_proto.h" |
Line 169 extern struct cfg_sync fws_cfg;
|
Line 169 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 callout fws_co; |
extern struct callout fws_co; |
extern struct mtx fws_mtx_c, fws_mtx_e, fws_mtx_u; | extern struct mtx fws_mtx_c, fws_mtx_e, fws_mtx_u, fws_mtx_n; |
extern struct mbuf *fws_sndpkt; |
extern struct mbuf *fws_sndpkt; |
extern fwsync_sndpkt_t fwsync_sndpkt, fwsync_updpkt; | extern fwsync_sndpkt_t fwsync_sndpkt, fwsync_updpkt, fwsync_natpkt; |
|
|
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); |