Re: Typos in net/bpf.h

2013-03-22 Thread Creamy
On Fri, Mar 22, 2013 at 10:38:25AM -0600, Theo de Raadt wrote: > > On 03/22/13 17:25, Philip Guenther wrote: > > > On Fri, Mar 22, 2013 at 7:53 AM, Gabriel Linder > > > wrote: > > >> - * bpf understands a program iff kernel_major == filter_major && > > >> + * bpf understands a program if kernel_m

Re: Typos in net/bpf.h

2013-03-22 Thread Gabriel Linder
On 03/22/13 17:38, Theo de Raadt wrote: >> On 03/22/13 17:25, Philip Guenther wrote: >>> On Fri, Mar 22, 2013 at 7:53 AM, Gabriel Linder >>> wrote: - * bpf understands a program iff kernel_major == filter_major && + * bpf understands a program if kernel_major == filter_major && >>> Not

Re: Typos in net/bpf.h

2013-03-22 Thread Theo de Raadt
> On 03/22/13 17:25, Philip Guenther wrote: > > On Fri, Mar 22, 2013 at 7:53 AM, Gabriel Linder > > wrote: > >> - * bpf understands a program iff kernel_major == filter_major && > >> + * bpf understands a program if kernel_major == filter_major && > > Not a typo: "iff" is a shorthand for "if and

Re: Typos in net/bpf.h

2013-03-22 Thread Gabriel Linder
On 03/22/13 17:25, Philip Guenther wrote: > On Fri, Mar 22, 2013 at 7:53 AM, Gabriel Linder wrote: >> - * bpf understands a program iff kernel_major == filter_major && >> + * bpf understands a program if kernel_major == filter_major && > Not a typo: "iff" is a shorthand for "if and only if" that w

Re: Typos in net/bpf.h

2013-03-22 Thread Creamy
On Fri, Mar 22, 2013 at 03:53:07PM +0100, Gabriel Linder wrote: > While learning how to use BPF I fumbled on this, clarification is needed imho. > > ok ? > > Index: sys/net/bpf.h > === > RCS file: /cvs/src/sys/net/bpf.h,v > retrievin

Re: Typos in net/bpf.h

2013-03-22 Thread Philip Guenther
On Fri, Mar 22, 2013 at 7:53 AM, Gabriel Linder wrote: > - * bpf understands a program iff kernel_major == filter_major && > + * bpf understands a program if kernel_major == filter_major && Not a typo: "iff" is a shorthand for "if and only if" that was inherited from the mathematics community.

Typos in net/bpf.h

2013-03-22 Thread Gabriel Linder
While learning how to use BPF I fumbled on this, clarification is needed imho. ok ? Index: sys/net/bpf.h === RCS file: /cvs/src/sys/net/bpf.h,v retrieving revision 1.43 diff -u -r1.43 bpf.h --- sys/net/bpf.h26 Mar 2012 19:37:42 -