Subject: Re: packet capturing
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Andrew Brown <>
List: tech-kern
Date: 01/21/2004 22:46:03
>[... sysctl architecture]
>All sounds good to me.
>I dont want to tell tales, but when adding the bpf buffersize sysctl,
>we found out the hard way that the raw sysctl_createv() API is
>unecessarily error-prone. :-/.

well...that's only because i tossed off some code into a piece of
email without really thinking it through.  the error was found very
easily, would not have occurred if i hadn't used cut-n-paste, and
might veyr well have occurred for the same reason even if i was using
shorter "create" macros.

fwiw, we could have "tested it" as an lkm first, to see how it would
do.  :)

|-----< "CODE WARRIOR" >-----|             * "ah!  i see you have the internet (Andrew Brown)                that goes *ping*!"       * "information is power -- share the wealth."