diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-01-28 16:38:44 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-01-28 16:38:44 +0000 |
commit | 14613c4dc74ac9a5ddd4a8e860debf7e28ef1b55 (patch) | |
tree | 3ca2b6749049df5c13ef3874f43b947e91c35ffd /sys/net/bpf.c | |
parent | 4ffff2fde276a8ffd25aa5e51d2e5843d4c8071e (diff) | |
download | FreeBSD-src-14613c4dc74ac9a5ddd4a8e860debf7e28ef1b55.zip FreeBSD-src-14613c4dc74ac9a5ddd4a8e860debf7e28ef1b55.tar.gz |
Remove slightly dubious comment; add descriptive strings for several
sysctls.
MFC after: 3 days
Diffstat (limited to 'sys/net/bpf.c')
-rw-r--r-- | sys/net/bpf.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c index 3389e1f..9292236 100644 --- a/sys/net/bpf.c +++ b/sys/net/bpf.c @@ -119,16 +119,13 @@ static void bpf_drvinit(void *); static void bpf_clone(void *, struct ucred *, char *, int, struct cdev **); static int bpf_stats_sysctl(SYSCTL_HANDLER_ARGS); -/* - * The default read buffer size is patchable. - */ SYSCTL_NODE(_net, OID_AUTO, bpf, CTLFLAG_RW, 0, "bpf sysctl"); static int bpf_bufsize = 4096; SYSCTL_INT(_net_bpf, OID_AUTO, bufsize, CTLFLAG_RW, - &bpf_bufsize, 0, ""); + &bpf_bufsize, 0, "Default bpf buffer size"); static int bpf_maxbufsize = BPF_MAXBUFSIZE; SYSCTL_INT(_net_bpf, OID_AUTO, maxbufsize, CTLFLAG_RW, - &bpf_maxbufsize, 0, ""); + &bpf_maxbufsize, 0, "Maximum bpf buffer size"); static int bpf_maxinsns = BPF_MAXINSNS; SYSCTL_INT(_net_bpf, OID_AUTO, maxinsns, CTLFLAG_RW, &bpf_maxinsns, 0, "Maximum bpf program instructions"); |