ip_frag.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* Copyright (C) 1993-2001 by Darren Reed.
*
* See the IPFILTER.LICENCE file for details on licencing.
*
* @(#)ip_frag.h 1.5 3/24/96
* $Id: ip_frag.h,v 2.22 2003/06/24 11:13:53 darrenr Exp $
*/
#ifndef __IP_FRAG_H__
#define __IP_FRAG_H__
#define IPFT_SIZE 257
typedef struct ipfr {
void *ipfr_data;
void *ipfr_ifp;
} ipfr_t;
typedef struct ipfrstat {
struct ipfr **ifs_nattab;
} ipfrstat_t;
extern int ipfr_size;
extern int fr_ipfrttl;
extern int fr_frag_lock;
extern int fr_fraginit __P((void));
extern void fr_fragunload __P((void));
extern void fr_forgetnat __P((void *));
extern void fr_fragclear __P((void));
extern void fr_fragexpire __P((void));
extern void fr_slowtimer __P((void));
# else
#ifndef _KERNEL
extern void fr_slowtimer __P((void *));
#endif
# endif
#else
extern int fr_slowtimer __P((void));
#endif
#endif /* __IP_FIL_H__ */