Subject: Re: CVS commit: src/sbin/sysctl
To: Andrew Brown <atatat@atatdot.net>
From: Matt Thomas <matt@3am-software.com>
List: source-changes
Date: 01/22/2004 16:02:20
At 04:02 PM 1/22/2004, Andrew Brown wrote:
> >> >Modified Files:
> >> > src/sbin/sysctl: sysctl.8
> >> >
> >> >Log Message:
> >> >Document net.bpf.maxbufsize in sysctl(8).
> >> >NB: bpf isn't a PF_, so where to list it in sysctl(3)?
> >>
> >>hmm...good point. my first thought was that bpf had to do with
> >>networking under the "net" sub-tree, but perhaps it fits better with
> >>devices under the "dev" sub-tree?
> >
> >bpf should be use pseudo_AF_HDRCMPLT as it's address family since
> >that exists mostly for bpf's usage. Calling that net.bpf seems fine
> >to me.
>
>alternately, put bpf under net.unspec (CTL_NET.PF_UNSPEC)?
Ewww. Unspec is a wildcard. Don't overload it.
CTL_NET.pseudo_AF_HDRCMPLT is the right choice for bpf.
--
Matt Thomas email: matt@3am-software.com
3am Software Foundry www: http://3am-software.com/bio/matt/
Cupertino, CA disclaimer: I avow all knowledge of this message.