Deleted Added
full compact
ip_frag.h (80482) ip_frag.h (92685)
1/*
2 * Copyright (C) 1993-2001 by Darren Reed.
3 *
4 * See the IPFILTER.LICENCE file for details on licencing.
5 *
6 * @(#)ip_frag.h 1.5 3/24/96
7 * $Id: ip_frag.h,v 2.4.2.2 2000/11/10 13:10:54 darrenr Exp $
1/*
2 * Copyright (C) 1993-2001 by Darren Reed.
3 *
4 * See the IPFILTER.LICENCE file for details on licencing.
5 *
6 * @(#)ip_frag.h 1.5 3/24/96
7 * $Id: ip_frag.h,v 2.4.2.2 2000/11/10 13:10:54 darrenr Exp $
8 * $FreeBSD: head/sys/contrib/ipfilter/netinet/ip_frag.h 80482 2001-07-28 11:58:26Z darrenr $
8 * $FreeBSD: head/sys/contrib/ipfilter/netinet/ip_frag.h 92685 2002-03-19 11:44:16Z darrenr $
9 */
10
11#ifndef __IP_FRAG_H__
12#define __IP_FRAG_H__
13
14#define IPFT_SIZE 257
15
16typedef struct ipfr {

--- 35 unchanged lines hidden (view full) ---

52extern int ipfr_newfrag __P((ip_t *, fr_info_t *, u_int));
53extern int ipfr_nat_newfrag __P((ip_t *, fr_info_t *, u_int, struct nat *));
54extern nat_t *ipfr_nat_knownfrag __P((ip_t *, fr_info_t *));
55extern frentry_t *ipfr_knownfrag __P((ip_t *, fr_info_t *));
56extern void ipfr_forget __P((void *));
57extern void ipfr_unload __P((void));
58extern void ipfr_fragexpire __P((void));
59
9 */
10
11#ifndef __IP_FRAG_H__
12#define __IP_FRAG_H__
13
14#define IPFT_SIZE 257
15
16typedef struct ipfr {

--- 35 unchanged lines hidden (view full) ---

52extern int ipfr_newfrag __P((ip_t *, fr_info_t *, u_int));
53extern int ipfr_nat_newfrag __P((ip_t *, fr_info_t *, u_int, struct nat *));
54extern nat_t *ipfr_nat_knownfrag __P((ip_t *, fr_info_t *));
55extern frentry_t *ipfr_knownfrag __P((ip_t *, fr_info_t *));
56extern void ipfr_forget __P((void *));
57extern void ipfr_unload __P((void));
58extern void ipfr_fragexpire __P((void));
59
60#if (BSD >= 199306) || SOLARIS || defined(__sgi)
61# if defined(SOLARIS2) && (SOLARIS2 < 7)
60#ifdef _KERNEL
61# if (BSD >= 199306) || SOLARIS || defined(__sgi)
62# if defined(SOLARIS2) && (SOLARIS2 < 7)
62extern void ipfr_slowtimer __P((void));
63extern void ipfr_slowtimer __P((void));
63# else
64# else
64extern void ipfr_slowtimer __P((void *));
65extern void ipfr_slowtimer __P((void *));
65# endif
66#else
66# endif
67# else
67extern int ipfr_slowtimer __P((void));
68extern int ipfr_slowtimer __P((void));
68#endif /* (BSD >= 199306) || SOLARIS */
69# endif /* (BSD >= 199306) || SOLARIS */
70#else
71extern void ipfr_slowtimer __P((void));
72#endif /* _KERNEL */
69
70#endif /* __IP_FIL_H__ */
73
74#endif /* __IP_FIL_H__ */