# A patch to create 128 bpf devices instead of the standard 4 to Mac OS X # (Darwin). # # apply in the top level xnu-xxx source directory: # patch -p0 -b --verbose --suffix=.orig < ADD_BPFs.patch # # Then, build the kernel and install it as you normally would. --- bsd/conf/MASTER.orig Fri Dec 19 17:22:53 2003 +++ bsd/conf/MASTER Wed Feb 4 16:13:00 2004 @@ -256,7 +256,7 @@ # # packet filter device # -pseudo-device bpfilter 4 init bpf_init +pseudo-device bpfilter 128 init bpf_init # # shim to "linux" mach disk drivers (mach drivers must also be turned on)