summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorps <ps@FreeBSD.org>2000-05-09 16:56:51 +0000
committerps <ps@FreeBSD.org>2000-05-09 16:56:51 +0000
commitcffec0416c1cbd4f45110c8da6f621ad1f8882ec (patch)
treea03016e746ed3f6d382ab6a9e9f2db5a0bf264e3 /sys
parentf88b7fd3fd32c864105159992589f7a6df200147 (diff)
downloadFreeBSD-src-cffec0416c1cbd4f45110c8da6f621ad1f8882ec.zip
FreeBSD-src-cffec0416c1cbd4f45110c8da6f621ad1f8882ec.tar.gz
Add missing include machine/in_cksum.h.
Submitted by: n_hibma
Diffstat (limited to 'sys')
-rw-r--r--sys/contrib/ipfilter/netinet/fil.c2
-rw-r--r--sys/contrib/ipfilter/netinet/ip_fil.c1
-rw-r--r--sys/netinet/fil.c2
-rw-r--r--sys/netinet/ip_fil.c1
-rw-r--r--sys/netinet6/ipsec.c2
5 files changed, 8 insertions, 0 deletions
diff --git a/sys/contrib/ipfilter/netinet/fil.c b/sys/contrib/ipfilter/netinet/fil.c
index 9561142..3a5444a 100644
--- a/sys/contrib/ipfilter/netinet/fil.c
+++ b/sys/contrib/ipfilter/netinet/fil.c
@@ -87,6 +87,8 @@ static const char rcsid[] = "@(#)$FreeBSD$";
#endif
#include "netinet/ipl.h"
+#include <machine/in_cksum.h>
+
#ifndef _KERNEL
# include "ipf.h"
# include "ipt.h"
diff --git a/sys/contrib/ipfilter/netinet/ip_fil.c b/sys/contrib/ipfilter/netinet/ip_fil.c
index 8216537..08117a7 100644
--- a/sys/contrib/ipfilter/netinet/ip_fil.c
+++ b/sys/contrib/ipfilter/netinet/ip_fil.c
@@ -114,6 +114,7 @@ static const char rcsid[] = "@(#)$FreeBSD$";
extern int ip_optcopy __P((struct ip *, struct ip *));
#endif
+#include <machine/in_cksum.h>
extern struct protosw inetsw[];
diff --git a/sys/netinet/fil.c b/sys/netinet/fil.c
index 9561142..3a5444a 100644
--- a/sys/netinet/fil.c
+++ b/sys/netinet/fil.c
@@ -87,6 +87,8 @@ static const char rcsid[] = "@(#)$FreeBSD$";
#endif
#include "netinet/ipl.h"
+#include <machine/in_cksum.h>
+
#ifndef _KERNEL
# include "ipf.h"
# include "ipt.h"
diff --git a/sys/netinet/ip_fil.c b/sys/netinet/ip_fil.c
index 8216537..08117a7 100644
--- a/sys/netinet/ip_fil.c
+++ b/sys/netinet/ip_fil.c
@@ -114,6 +114,7 @@ static const char rcsid[] = "@(#)$FreeBSD$";
extern int ip_optcopy __P((struct ip *, struct ip *));
#endif
+#include <machine/in_cksum.h>
extern struct protosw inetsw[];
diff --git a/sys/netinet6/ipsec.c b/sys/netinet6/ipsec.c
index d9cf133..a72fb6a 100644
--- a/sys/netinet6/ipsec.c
+++ b/sys/netinet6/ipsec.c
@@ -97,6 +97,8 @@
#define KEYDEBUG(lev,arg)
#endif
+#include <machine/in_cksum.h>
+
struct ipsecstat ipsecstat;
int ip4_inbound_call_ike = 0;
int ip4_ah_cleartos = 1;
OpenPOWER on IntegriCloud