Remove unessary includes and follow common ordering style.
This commit is contained in:
parent
bf6d304ab2
commit
67d828b162
@ -36,8 +36,6 @@
|
|||||||
#include "opt_inet6.h"
|
#include "opt_inet6.h"
|
||||||
#include "opt_ipsec.h"
|
#include "opt_ipsec.h"
|
||||||
#include "opt_mac.h"
|
#include "opt_mac.h"
|
||||||
#include "opt_tcpdebug.h"
|
|
||||||
#include "opt_tcp_sack.h"
|
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
@ -51,10 +49,11 @@
|
|||||||
#include <sys/md5.h>
|
#include <sys/md5.h>
|
||||||
#include <sys/proc.h> /* for proc0 declaration */
|
#include <sys/proc.h> /* for proc0 declaration */
|
||||||
#include <sys/random.h>
|
#include <sys/random.h>
|
||||||
#include <sys/rwlock.h>
|
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <sys/socketvar.h>
|
#include <sys/socketvar.h>
|
||||||
|
|
||||||
|
#include <vm/uma.h>
|
||||||
|
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
#include <net/route.h>
|
#include <net/route.h>
|
||||||
|
|
||||||
@ -73,16 +72,10 @@
|
|||||||
#include <netinet6/in6_pcb.h>
|
#include <netinet6/in6_pcb.h>
|
||||||
#endif
|
#endif
|
||||||
#include <netinet/tcp.h>
|
#include <netinet/tcp.h>
|
||||||
#ifdef TCPDEBUG
|
|
||||||
#include <netinet/tcpip.h>
|
|
||||||
#endif
|
|
||||||
#include <netinet/tcp_fsm.h>
|
#include <netinet/tcp_fsm.h>
|
||||||
#include <netinet/tcp_seq.h>
|
#include <netinet/tcp_seq.h>
|
||||||
#include <netinet/tcp_timer.h>
|
#include <netinet/tcp_timer.h>
|
||||||
#include <netinet/tcp_var.h>
|
#include <netinet/tcp_var.h>
|
||||||
#ifdef TCPDEBUG
|
|
||||||
#include <netinet/tcp_debug.h>
|
|
||||||
#endif
|
|
||||||
#ifdef INET6
|
#ifdef INET6
|
||||||
#include <netinet6/tcp6_var.h>
|
#include <netinet6/tcp6_var.h>
|
||||||
#endif
|
#endif
|
||||||
@ -103,7 +96,6 @@
|
|||||||
#endif /*FAST_IPSEC*/
|
#endif /*FAST_IPSEC*/
|
||||||
|
|
||||||
#include <machine/in_cksum.h>
|
#include <machine/in_cksum.h>
|
||||||
#include <vm/uma.h>
|
|
||||||
|
|
||||||
static int tcp_syncookies = 1;
|
static int tcp_syncookies = 1;
|
||||||
SYSCTL_INT(_net_inet_tcp, OID_AUTO, syncookies, CTLFLAG_RW,
|
SYSCTL_INT(_net_inet_tcp, OID_AUTO, syncookies, CTLFLAG_RW,
|
||||||
|
Loading…
Reference in New Issue
Block a user