diff options
author | Darren Reed <darrenr@FreeBSD.org> | 2000-08-13 04:28:25 +0000 |
---|---|---|
committer | Darren Reed <darrenr@FreeBSD.org> | 2000-08-13 04:28:25 +0000 |
commit | 6adaca6e12219fdf42e3224f40ff9e27cf86f3e1 (patch) | |
tree | 059d81384d9dc8039dafc0ae0dec499bc65ded08 /sys/netinet/ip_compat.h | |
parent | 4dca8a6de1933456e724af9c9bd7ea3d726230ce (diff) | |
download | src-6adaca6e12219fdf42e3224f40ff9e27cf86f3e1.tar.gz src-6adaca6e12219fdf42e3224f40ff9e27cf86f3e1.zip |
Import IP Filter 3.4.9 bits into the kernel
Notes
Notes:
svn path=/vendor-sys/ipfilter/dist-old/; revision=64578
Diffstat (limited to 'sys/netinet/ip_compat.h')
-rw-r--r-- | sys/netinet/ip_compat.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/netinet/ip_compat.h b/sys/netinet/ip_compat.h index 9b7cddfaf4bd..ba9e014c8c59 100644 --- a/sys/netinet/ip_compat.h +++ b/sys/netinet/ip_compat.h @@ -6,7 +6,7 @@ * to the original author and the contributors. * * @(#)ip_compat.h 1.8 1/14/96 - * $Id: ip_compat.h,v 2.26.2.3 2000/04/28 14:56:49 darrenr Exp $ + * $Id: ip_compat.h,v 2.26.2.4 2000/08/13 03:51:03 darrenr Exp $ */ #ifndef __IP_COMPAT_H__ @@ -126,6 +126,10 @@ typedef int minor_t; #endif /* SOLARIS */ #define IPMINLEN(i, h) ((i)->ip_len >= ((i)->ip_hl * 4 + sizeof(struct h))) +#if defined(__FreeBSD__) && (__FreeBSD__ >= 5) && defined(_KERNEL) +# include <machine/in_cksum.h> +#endif + #ifndef IP_OFFMASK #define IP_OFFMASK 0x1fff #endif |