Diff for /fwsync/driver/fwsync.h between versions 1.2 and 1.7

version 1.2, 2022/06/29 19:44:58 version 1.7, 2022/08/10 00:03:49
Line 24 Line 24
 #include <sys/priority.h>  #include <sys/priority.h>
 #include <sys/taskqueue.h>  #include <sys/taskqueue.h>
 #include <sys/queue.h>  #include <sys/queue.h>
   #include <sys/tree.h>
 #include <sys/mutex.h>  #include <sys/mutex.h>
 #include <sys/uio.h>  #include <sys/uio.h>
 #include <sys/poll.h>  #include <sys/poll.h>
Line 34 Line 35
 #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  #define IPFW_INTERNAL
   
Line 41 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_utils.h"
 #include "fwsync_workers.h"  #include "fwsync_workers.h"
   
 #if 0  
 #include <sys/uio.h>  
 #include <sys/rwlock.h>  
 #include <sys/tree.h>  
 #include <sys/ioccom.h>  
   
 #include <sys/event.h>  
 #include <sys/selinfo.h>  
 #include <sys/fcntl.h>  
 #include <sys/syslog.h>  
 #endif  
   
   
 #define IFT_FWSYNC      0xfc  #define IFT_FWSYNC      0xfc
   
 #define DRV_NAME        "fwsync"  #define DRV_NAME        "fwsync"
Line 175  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_sndpktextern 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);

Removed from v.1.2  
changed lines
  Added in v.1.7


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