summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_subr.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2006-10-22 11:52:19 +0000
committerrwatson <rwatson@FreeBSD.org>2006-10-22 11:52:19 +0000
commit7beaaf5cd2391ef1f8159791b46dbeb83ab0c2fb (patch)
tree15bbe7ba3ad64d39db33baa0b88a2dae4206568e /sys/netinet/tcp_subr.c
parentcbcb760109a202fb847f48aa942a8b84b1e85015 (diff)
downloadFreeBSD-src-7beaaf5cd2391ef1f8159791b46dbeb83ab0c2fb.zip
FreeBSD-src-7beaaf5cd2391ef1f8159791b46dbeb83ab0c2fb.tar.gz
Complete break-out of sys/sys/mac.h into sys/security/mac/mac_framework.h
begun with a repo-copy of mac.h to mac_framework.h. sys/mac.h now contains the userspace and user<->kernel API and definitions, with all in-kernel interfaces moved to mac_framework.h, which is now included across most of the kernel instead. This change is the first step in a larger cleanup and sweep of MAC Framework interfaces in the kernel, and will not be MFC'd. Obtained from: TrustedBSD Project Sponsored by: SPARTA
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r--sys/netinet/tcp_subr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index af99313..2b4f9bc 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -43,7 +43,6 @@
#include <sys/callout.h>
#include <sys/kernel.h>
#include <sys/sysctl.h>
-#include <sys/mac.h>
#include <sys/malloc.h>
#include <sys/mbuf.h>
#ifdef INET6
@@ -113,6 +112,8 @@
#include <machine/in_cksum.h>
#include <sys/md5.h>
+#include <security/mac/mac_framework.h>
+
int tcp_mssdflt = TCP_MSS;
SYSCTL_INT(_net_inet_tcp, TCPCTL_MSSDFLT, mssdflt, CTLFLAG_RW,
&tcp_mssdflt , 0, "Default TCP Maximum Segment Size");
OpenPOWER on IntegriCloud