Module Name: src Committed By: martin Date: Wed Jun 9 15:44:15 UTC 2021
Modified Files: src/sys/net: bpf.c bpf.h bpfdesc.h Log Message: Add a bpf_register_track_event() function (and deregister equivalent) that allows a driver to track listeners attaching/detaching from tap points. This is usefull for drivers that would have to do extra work for some taps and can not easily decide (at the driver level) if the work would be needed further up the stack. An example is providing radiotap headers for IEEE 802.11 frames. To generate a diff of this commit: cvs rdiff -u -r1.239 -r1.240 src/sys/net/bpf.c cvs rdiff -u -r1.76 -r1.77 src/sys/net/bpf.h cvs rdiff -u -r1.47 -r1.48 src/sys/net/bpfdesc.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.