summaryrefslogtreecommitdiffstats
path: root/sys/contrib/ipfilter/netinet/ip_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/ipfilter/netinet/ip_state.h')
-rw-r--r--sys/contrib/ipfilter/netinet/ip_state.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/contrib/ipfilter/netinet/ip_state.h b/sys/contrib/ipfilter/netinet/ip_state.h
index 9c457cf..ca7e454 100644
--- a/sys/contrib/ipfilter/netinet/ip_state.h
+++ b/sys/contrib/ipfilter/netinet/ip_state.h
@@ -42,7 +42,6 @@ typedef struct ipstate {
struct ipstate **is_me;
void *is_ifp[4];
void *is_sync;
- struct nat *is_nat[2];
frentry_t *is_rule;
struct ipftq *is_tqehead[2];
struct ipscan *is_isc;
@@ -190,6 +189,7 @@ typedef struct ipslog {
#define ISL_INTERMEDIATE 0xfffc
#define ISL_KILLED 0xfffb
#define ISL_ORPHAN 0xfffa
+#define ISL_UNLOAD 0xfff9
typedef struct ips_stat {
@@ -216,6 +216,7 @@ typedef struct ips_stat {
ipstate_t **iss_table;
ipstate_t *iss_list;
u_long *iss_bucketlen;
+ ipftq_t *iss_tcptab;
} ips_stat_t;
@@ -251,12 +252,12 @@ extern int fr_tcpinwindow __P((struct fr_info *, struct tcpdata *,
struct tcpdata *, tcphdr_t *, int));
extern void fr_stateunload __P((void));
extern void ipstate_log __P((struct ipstate *, u_int));
-extern int fr_state_ioctl __P((caddr_t, ioctlcmd_t, int));
+extern int fr_state_ioctl __P((caddr_t, ioctlcmd_t, int, int, void *));
extern void fr_stinsert __P((struct ipstate *, int));
extern void fr_sttab_init __P((struct ipftq *));
extern void fr_sttab_destroy __P((struct ipftq *));
extern void fr_updatestate __P((fr_info_t *, ipstate_t *, ipftq_t *));
-extern void fr_statederef __P((fr_info_t *, ipstate_t **));
+extern void fr_statederef __P((ipstate_t **));
extern void fr_setstatequeue __P((ipstate_t *, int));
#endif /* __IP_STATE_H__ */
OpenPOWER on IntegriCloud