The primary development phase of the BPF/PF_PACKET project is now completed and I'd like to ask people for feedback and to review the code as it currently stands. The sockmod_pfp.c file has already been reviewed by Anders (thanks!) and changes according to his comments integrated.
For reference, the PSARC case information relating to this work can be found here: http://arc.opensolaris.org/caselog/PSARC/2009/232/commitment.materials/ There are two gates that will require putbacks in the immediate future, ON and SFW. The timeout for review of these changes is the 12th of August, 2009. The changes required for onnv are here and include: - adaption of BPF from NetBSD to Solaris - delivery of PF_PACKET socket module - linking together dls, ipnet, mac and bpf - modification of ipnet to support delivery of packets via libpcap http://cr.opensolaris.org/~darrenr/onnv-pcapture/ A small number of changes are required to convert libpcap shipped with SFW to function with BPF as supplied with Solaris. The most important being allowing more than one DLT to be reported with the DLT list function. The change to using BPF for libpcap removes support for using DLPI with libpcap. The changes can be found here: http://cr.opensolaris.org/~darrenr/sfw-pcap/ Cheers, Darren