diff options
author | peter <peter@FreeBSD.org> | 1999-10-10 15:09:59 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-10-10 15:09:59 +0000 |
commit | c5fae336058615ac8e0d149bdc8b7c6efc88d07b (patch) | |
tree | 6e714dd0327e7889cd95ee2f995266b8229a10b5 /sys/netinet/ip_frag.h | |
parent | 76c8e9b267ecd06e50fdc045c919d158999307b0 (diff) | |
download | FreeBSD-src-c5fae336058615ac8e0d149bdc8b7c6efc88d07b.zip FreeBSD-src-c5fae336058615ac8e0d149bdc8b7c6efc88d07b.tar.gz |
Nuke the old antique copy of ipfilter from the tree. This is old enough
to be dangerous. It will better serve us as a port building a KLD,
ala SKIP.
The hooks are staying although it would be better to port and use
the NetBSD pfil interface rather than have custom hooks.
Diffstat (limited to 'sys/netinet/ip_frag.h')
-rw-r--r-- | sys/netinet/ip_frag.h | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/sys/netinet/ip_frag.h b/sys/netinet/ip_frag.h deleted file mode 100644 index c509050..0000000 --- a/sys/netinet/ip_frag.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 1993-1997 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 - * $FreeBSD$ - */ - -#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; - u_char ipfr_pass; -} 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 ipfrstat_t *ipfr_fragstats __P((void)); -extern int ipfr_newfrag __P((ip_t *, fr_info_t *, int)); -extern int ipfr_nat_newfrag __P((ip_t *, fr_info_t *, int, struct nat *)); -extern nat_t *ipfr_nat_knownfrag __P((ip_t *, fr_info_t *)); -extern int ipfr_knownfrag __P((ip_t *, fr_info_t *)); -extern void ipfr_forget __P((void *)); -extern void ipfr_unload __P((void)); - -#if (BSD >= 199306) || SOLARIS || defined(__sgi) -extern void ipfr_slowtimer __P((void)); -#else -extern int ipfr_slowtimer __P((void)); -#endif - -#endif /* __IP_FIL_H__ */ |