ip_frag.h revision 7663b81667fda05833f609eceac713f0a83c2347
/*
* 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 $
*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#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_FRAG_H__ */