ip_state.h (63523) | ip_state.h (67614) |
---|---|
1/* 2 * Copyright (C) 1995-2000 by Darren Reed. 3 * 4 * Redistribution and use in source and binary forms are permitted 5 * provided that this notice is preserved and due credit is given 6 * to the original author and the contributors. 7 * 8 * @(#)ip_state.h 1.3 1/12/96 (C) 1995 Darren Reed 9 * $Id: ip_state.h,v 2.13.2.1 2000/07/08 02:15:35 darrenr Exp $ | 1/* 2 * Copyright (C) 1995-2000 by Darren Reed. 3 * 4 * Redistribution and use in source and binary forms are permitted 5 * provided that this notice is preserved and due credit is given 6 * to the original author and the contributors. 7 * 8 * @(#)ip_state.h 1.3 1/12/96 (C) 1995 Darren Reed 9 * $Id: ip_state.h,v 2.13.2.1 2000/07/08 02:15:35 darrenr Exp $ |
10 * $FreeBSD: head/sys/contrib/ipfilter/netinet/ip_state.h 63523 2000-07-19 14:02:09Z darrenr $ | 10 * $FreeBSD: head/sys/contrib/ipfilter/netinet/ip_state.h 67614 2000-10-26 12:33:42Z darrenr $ |
11 */ 12#ifndef __IP_STATE_H__ 13#define __IP_STATE_H__ 14 15#if defined(__STDC__) || defined(__GNUC__) 16# define SIOCDELST _IOW('r', 61, struct ipstate *) 17#else 18# define SIOCDELST _IOW(r, 61, struct ipstate *) --- 150 unchanged lines hidden (view full) --- 169} ips_stat_t; 170 171 172extern u_long fr_tcpidletimeout; 173extern u_long fr_tcpclosewait; 174extern u_long fr_tcplastack; 175extern u_long fr_tcptimeout; 176extern u_long fr_tcpclosed; | 11 */ 12#ifndef __IP_STATE_H__ 13#define __IP_STATE_H__ 14 15#if defined(__STDC__) || defined(__GNUC__) 16# define SIOCDELST _IOW('r', 61, struct ipstate *) 17#else 18# define SIOCDELST _IOW(r, 61, struct ipstate *) --- 150 unchanged lines hidden (view full) --- 169} ips_stat_t; 170 171 172extern u_long fr_tcpidletimeout; 173extern u_long fr_tcpclosewait; 174extern u_long fr_tcplastack; 175extern u_long fr_tcptimeout; 176extern u_long fr_tcpclosed; |
177extern u_long fr_tcphalfclosed; |
|
177extern u_long fr_udptimeout; 178extern u_long fr_icmptimeout; 179extern int fr_state_lock; 180extern int fr_stateinit __P((void)); 181extern int fr_tcpstate __P((ipstate_t *, fr_info_t *, ip_t *, tcphdr_t *)); 182extern ipstate_t *fr_addstate __P((ip_t *, fr_info_t *, u_int)); 183extern frentry_t *fr_checkstate __P((ip_t *, fr_info_t *)); 184extern void ip_statesync __P((void *)); 185extern void fr_timeoutstate __P((void)); 186extern void fr_tcp_age __P((u_long *, u_char *, fr_info_t *, int)); 187extern void fr_stateunload __P((void)); 188extern void ipstate_log __P((struct ipstate *, u_int)); 189#if defined(__NetBSD__) || defined(__OpenBSD__) 190extern int fr_state_ioctl __P((caddr_t, u_long, int)); 191#else 192extern int fr_state_ioctl __P((caddr_t, int, int)); 193#endif 194 195#endif /* __IP_STATE_H__ */ | 178extern u_long fr_udptimeout; 179extern u_long fr_icmptimeout; 180extern int fr_state_lock; 181extern int fr_stateinit __P((void)); 182extern int fr_tcpstate __P((ipstate_t *, fr_info_t *, ip_t *, tcphdr_t *)); 183extern ipstate_t *fr_addstate __P((ip_t *, fr_info_t *, u_int)); 184extern frentry_t *fr_checkstate __P((ip_t *, fr_info_t *)); 185extern void ip_statesync __P((void *)); 186extern void fr_timeoutstate __P((void)); 187extern void fr_tcp_age __P((u_long *, u_char *, fr_info_t *, int)); 188extern void fr_stateunload __P((void)); 189extern void ipstate_log __P((struct ipstate *, u_int)); 190#if defined(__NetBSD__) || defined(__OpenBSD__) 191extern int fr_state_ioctl __P((caddr_t, u_long, int)); 192#else 193extern int fr_state_ioctl __P((caddr_t, int, int)); 194#endif 195 196#endif /* __IP_STATE_H__ */ |