summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_socket.c
diff options
context:
space:
mode:
authormdf <mdf@FreeBSD.org>2011-01-12 19:53:39 +0000
committermdf <mdf@FreeBSD.org>2011-01-12 19:53:39 +0000
commit5ceb21c0a5e5b2f73b71f732d70a0efb23c643e6 (patch)
treeeb5fd71f36fbc73e111fa356d1af81102593c290 /sys/netgraph/ng_socket.c
parent0f98344048d2c8f6451da3210aed52f458cb7b03 (diff)
downloadFreeBSD-src-5ceb21c0a5e5b2f73b71f732d70a0efb23c643e6.zip
FreeBSD-src-5ceb21c0a5e5b2f73b71f732d70a0efb23c643e6.tar.gz
sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.
Commit the netgraph piece.
Diffstat (limited to 'sys/netgraph/ng_socket.c')
-rw-r--r--sys/netgraph/ng_socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/ng_socket.c b/sys/netgraph/ng_socket.c
index 50b5318..c5d887b 100644
--- a/sys/netgraph/ng_socket.c
+++ b/sys/netgraph/ng_socket.c
@@ -150,10 +150,10 @@ NETGRAPH_INIT_ORDERED(socket, &typestruct, SI_SUB_PROTO_DOMAIN, SI_ORDER_ANY);
/* Buffer space */
static u_long ngpdg_sendspace = 20 * 1024; /* really max datagram size */
-SYSCTL_INT(_net_graph, OID_AUTO, maxdgram, CTLFLAG_RW,
+SYSCTL_ULONG(_net_graph, OID_AUTO, maxdgram, CTLFLAG_RW,
&ngpdg_sendspace , 0, "Maximum outgoing Netgraph datagram size");
static u_long ngpdg_recvspace = 20 * 1024;
-SYSCTL_INT(_net_graph, OID_AUTO, recvspace, CTLFLAG_RW,
+SYSCTL_ULONG(_net_graph, OID_AUTO, recvspace, CTLFLAG_RW,
&ngpdg_recvspace , 0, "Maximum space for incoming Netgraph datagrams");
/* List of all sockets (for netstat -f netgraph) */
OpenPOWER on IntegriCloud