summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/netgraph/ng_socket.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/netgraph/ng_socket.c b/sys/netgraph/ng_socket.c
index e3be7d1..3498f47 100644
--- a/sys/netgraph/ng_socket.c
+++ b/sys/netgraph/ng_socket.c
@@ -147,7 +147,11 @@ NETGRAPH_INIT(socket, &typestruct);
/* Buffer space */
static u_long ngpdg_sendspace = 20 * 1024; /* really max datagram size */
+SYSCTL_INT(_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,
+ &ngpdg_recvspace , 0, "Maximum incoming Netgraph datagram size");
/* List of all sockets */
static LIST_HEAD(, ngpcb) ngsocklist;
OpenPOWER on IntegriCloud