PERFORCE change 114171 for review

Robert Watson rwatson at FreeBSD.org
Wed Feb 7 11:31:00 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=114171

Change 114171 by rwatson at rwatson_cinnamon on 2007/02/07 11:30:40

	Alphabetize zerocopy ioctls, renumber, fix white space.
	
	WARNING: this changes the ABI (ioctl numbers) of the zerocopy API
	and requires libraries and applications directly consuming the BPF
	zerocopy API to be rebuilt.  I.e., libpcap and direct BPF
	consumers, but not libpcap consumers.

Affected files ...

.. //depot/projects/zcopybpf/src/sys/net/bpf.h#11 edit

Differences ...

==== //depot/projects/zcopybpf/src/sys/net/bpf.h#11 (text+ko) ====

@@ -152,8 +152,9 @@
 #define	BIOCGETZBUF	_IOR('B', 127, struct bpf_zbuf)
 #define	BIOCGETZMAX	_IOR('B', 128, size_t)
 #define	BIOCGETZNEXT	_IOR('B', 129, struct bpf_zbuf)
-#define	BIOCSETZBUF	_IOW('B', 130, struct bpf_zbuf)
-#define	BIOCROTZBUF	_IOR('B', 131, struct bpf_zbuf)
+#define	BIOCROTZBUF	_IOR('B', 130, struct bpf_zbuf)
+#define	BIOCSETZBUF	_IOW('B', 131, struct bpf_zbuf)
+
 /*
  * Structure prepended to each packet.
  */


More information about the p4-projects mailing list