Up to [cvs.NetBSD.org] / src / sys / dev / usb
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: jdolecek-ncqfixes-base
Revision 1.46 / (download) - annotate - [select for diffs], Tue Jun 26 06:48:02 2018 UTC (5 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes,
isaki-audio2-base,
isaki-audio2
Branch point for: phil-wifi
Changes since 1.45: +3 -3
lines
Diff to previous 1.45 (colored)
Implement the BPF direction filter (BIOC[GS]DIRECTION). It provides backward compatibility with BIOC[GS]SEESENT ioctl. The userland interface is the same as FreeBSD. This change also fixes a bug that the direction is misunderstand on some environment by passing the direction to bpf_mtap*() instead of checking m->m_pkthdr.rcvif.