aboutsummaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_frag.h
diff options
context:
space:
mode:
authorDarren Reed <darrenr@FreeBSD.org>2001-02-04 14:15:48 +0000
committerDarren Reed <darrenr@FreeBSD.org>2001-02-04 14:15:48 +0000
commitd42c04169ee9ec41cadf0b90e80130d6d165c4ee (patch)
treef65e4c4ff29cc0fa15104696c4c70943f88b9d19 /sys/netinet/ip_frag.h
parenta49e8152f56fe7d0d36361b2e232354c94bffe5e (diff)
downloadsrc-d42c04169ee9ec41cadf0b90e80130d6d165c4ee.tar.gz
src-d42c04169ee9ec41cadf0b90e80130d6d165c4ee.zip
Update IP Filter kernel sourcevendor/ipfilter-sys/v3-4-16
Notes
Notes: svn path=/vendor-sys/ipfilter/dist-old/; revision=72001 svn path=/vendor-sys/ipfilter/v3-4-16/; revision=72002; tag=vendor/ipfilter-sys/v3-4-16
Diffstat (limited to 'sys/netinet/ip_frag.h')
-rw-r--r--sys/netinet/ip_frag.h65
1 files changed, 0 insertions, 65 deletions
diff --git a/sys/netinet/ip_frag.h b/sys/netinet/ip_frag.h
deleted file mode 100644
index 61b88aae66c4..000000000000
--- a/sys/netinet/ip_frag.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Copyright (C) 1993-2000 by Darren Reed.
- *
- * Redistribution and use in source and binary forms are permitted
- * provided that this notice is preserved and due credit is given
- * to the original author and the contributors.
- *
- * @(#)ip_frag.h 1.5 3/24/96
- * $Id: ip_frag.h,v 2.4.2.1 2000/10/19 15:40:13 darrenr Exp $
- */
-
-#ifndef __IP_FRAG_H__
-#define __IP_FRAG_H__
-
-#define IPFT_SIZE 257
-
-typedef struct ipfr {
- struct ipfr *ipfr_next, *ipfr_prev;
- void *ipfr_data;
- struct in_addr ipfr_src;
- struct in_addr ipfr_dst;
- u_short ipfr_id;
- u_char ipfr_p;
- u_char ipfr_tos;
- u_short ipfr_off;
- u_short ipfr_ttl;
- frentry_t *ipfr_rule;
-} ipfr_t;
-
-
-typedef struct ipfrstat {
- u_long ifs_exists; /* add & already exists */
- u_long ifs_nomem;
- u_long ifs_new;
- u_long ifs_hits;
- u_long ifs_expire;
- u_long ifs_inuse;
- struct ipfr **ifs_table;
- struct ipfr **ifs_nattab;
-} ipfrstat_t;
-
-#define IPFR_CMPSZ (4 + 4 + 2 + 1 + 1)
-
-extern int fr_ipfrttl;
-extern int fr_frag_lock;
-extern ipfrstat_t *ipfr_fragstats __P((void));
-extern int ipfr_newfrag __P((ip_t *, fr_info_t *, u_int));
-extern int ipfr_nat_newfrag __P((ip_t *, fr_info_t *, u_int, struct nat *));
-extern nat_t *ipfr_nat_knownfrag __P((ip_t *, fr_info_t *));
-extern frentry_t *ipfr_knownfrag __P((ip_t *, fr_info_t *));
-extern void ipfr_forget __P((void *));
-extern void ipfr_unload __P((void));
-extern void ipfr_fragexpire __P((void));
-
-#if (BSD >= 199306) || SOLARIS || defined(__sgi)
-# if defined(SOLARIS2) && (SOLARIS2 < 7)
-extern void ipfr_slowtimer __P((void));
-# else
-extern void ipfr_slowtimer __P((void *));
-# endif
-#else
-extern int ipfr_slowtimer __P((void));
-#endif /* (BSD >= 199306) || SOLARIS */
-
-#endif /* __IP_FIL_H__ */