diff options
author | darrenr <darrenr@FreeBSD.org> | 1997-05-25 15:50:46 +0000 |
---|---|---|
committer | darrenr <darrenr@FreeBSD.org> | 1997-05-25 15:50:46 +0000 |
commit | a93925894facc20de4d8d36bcb61fc349047c73f (patch) | |
tree | 25de559faf9011589a627f617cbd6ba5d2249232 /sys/netinet/ip_frag.h | |
parent | 525015045eb68d4a74c33a475a65fbacb429ca5a (diff) | |
download | FreeBSD-src-a93925894facc20de4d8d36bcb61fc349047c73f.zip FreeBSD-src-a93925894facc20de4d8d36bcb61fc349047c73f.tar.gz |
Import version 3.2alpha7
Diffstat (limited to 'sys/netinet/ip_frag.h')
-rw-r--r-- | sys/netinet/ip_frag.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/netinet/ip_frag.h b/sys/netinet/ip_frag.h index 0e8fe90..df275ba 100644 --- a/sys/netinet/ip_frag.h +++ b/sys/netinet/ip_frag.h @@ -1,21 +1,22 @@ /* - * (C)opyright 1993, 1994, 1995 by Darren Reed. + * (C)opyright 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 - * $Id: ip_frag.h,v 1.1.1.2 1997/04/03 10:11:06 darrenr Exp $ + * $Id: ip_frag.h,v 2.0.2.7 1997/05/08 10:10:18 darrenr Exp $ */ -#ifndef __IP_FRAG_H_ +#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; @@ -35,14 +36,18 @@ typedef struct ipfrstat { 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 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_unload __P((void)); + #if (BSD >= 199306) || SOLARIS extern void ipfr_slowtimer __P((void)); #else |