diff options
author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2008-12-02 21:37:28 +0000 |
---|---|---|
committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2008-12-02 21:37:28 +0000 |
commit | 4b79449e2fb67cb37c4c9f46d31791893a39ddd8 (patch) | |
tree | e9bacc5bf23d71b60a706b2c5f58a92e6fb570cb /sys/netinet/ip_id.c | |
parent | 8372089626dc6aee37d4f3a66c0f1a030bec912a (diff) | |
download | src-4b79449e2fb67cb37c4c9f46d31791893a39ddd8.tar.gz src-4b79449e2fb67cb37c4c9f46d31791893a39ddd8.zip |
Rather than using hidden includes (with cicular dependencies),
directly include only the header files needed. This reduces the
unneeded spamming of various headers into lots of files.
For now, this leaves us with very few modules including vnet.h
and thus needing to depend on opt_route.h.
Reviewed by: brooks, gnn, des, zec, imp
Sponsored by: The FreeBSD Foundation
Notes
Notes:
svn path=/head/; revision=185571
Diffstat (limited to 'sys/netinet/ip_id.c')
-rw-r--r-- | sys/netinet/ip_id.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/ip_id.c b/sys/netinet/ip_id.c index ed0a3e49b044..ce8c6b42ec78 100644 --- a/sys/netinet/ip_id.c +++ b/sys/netinet/ip_id.c @@ -104,6 +104,7 @@ static int sysctl_ip_id_change(SYSCTL_HANDLER_ARGS); MTX_SYSINIT(ip_id_mtx, &ip_id_mtx, "ip_id_mtx", MTX_DEF); +SYSCTL_DECL(_net_inet_ip); SYSCTL_PROC(_net_inet_ip, OID_AUTO, random_id_period, CTLTYPE_INT|CTLFLAG_RW, &array_size, 0, sysctl_ip_id_change, "IU", "IP ID Array size"); SYSCTL_INT(_net_inet_ip, OID_AUTO, random_id_collisions, CTLFLAG_RD, |