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 > retrieving revision 1.43 > diff -u -r1.43 bpf.h > --- sys/net/bpf.h 26 Mar 2012 19:37:42 -0000 1.43 > +++ sys/net/bpf.h 22 Mar 2013 14:48:21 -0000 > @@ -73,12 +73,12 @@ > }; > > /* > - * Struct return by BIOCVERSION. This represents the version number of > + * Struct returned by BIOCVERSION. This represents the version number of > * the filter language described by the instruction encodings below. > - * bpf understands a program iff kernel_major == filter_major && > + * bpf understands a program if kernel_major == filter_major &&
This is not exactly a typo, I believe it means, 'if and only if'. However, iff is a bad term to use precisely for this reason, so please spell it out in full :-). -- Creamy
