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 &&
  * kernel_minor >= filter_minor, that is, if the value returned by the
  * running kernel has the same major number and a minor number equal
- * equal to or less than the filter being downloaded.  Otherwise, the
+ * to or greater than the filter being downloaded.  Otherwise, the
  * results are undefined, meaning an error may be returned or packets
  * may be accepted haphazardly.
  * It has nothing to do with the source code version.

Reply via email to