summaryrefslogtreecommitdiff
path: root/sys/net/bpf.h
AgeCommit message (Expand)Author
2019-09-30remove the "copy function" argument to bpf_mtap_hdr.David Gwynne
2019-09-12make bpf_mtap_hdr take a const void *, not a caddr_t.David Gwynne
2019-03-17extend BIOCSFILDROP so it can be configured to not capture packets.David Gwynne
2018-02-03Add support for dumping USB transfers via bpf(4) using USBPcap headers.Martin Pieuchot
2018-02-01add bpf_tap_hdr(), for handling a buffer (not an mbuf) with a header.David Gwynne
2018-01-24add support for bpf on "subsystems", not just network interfacesDavid Gwynne
2017-02-22The pcap people gave us ID 267 for DLT_OPENFLOWReyk Floeter
2016-11-17Add DLT_USER1..15 with the same values as the upstream libpcap repository.Stuart Henderson
2016-11-16Add new DLT_OPENFLOW link-type to allow using tcpdump to debug switch(4),Reyk Floeter
2016-10-30add __BEGIN_DECLS/__END_DECLS to the public userland side of net/bpf.h,Peter Hessler
2016-09-12bpf_tap() is long dead! Long live bpf_mtap() & friends.Kenneth R Westerback
2016-09-11Remove #ifdef's for architectures of the past around SIZEOF_BPF_HDRTheo de Raadt
2016-05-10make the bpf tap functions take const struct mbuf *David Gwynne
2016-04-03mark the packet buffer in bpf_filter as bounded by the pktlen argDavid Gwynne
2016-04-02mark the program and buffer as const in bpf_filter()David Gwynne
2016-04-02refactor bpf_filter a bit.David Gwynne
2016-03-30BIOCGQUEUE and BIOCSQUEUE are no moreDavid Gwynne
2016-03-29make bpf_mtap et al return whether the mbuf should be droppedDavid Gwynne
2016-03-09remove __vax__Theo de Raadt
2015-06-16Store a unique ID, an interface index, rather than a pointer to theMartin Pieuchot
2015-02-10make bpf(4) able to filter based on a pf(4) queue ID for tcpdump -Q qnameMartin Pelikan
2014-10-07when running bpf on an outgoing vlan interface that doesnt have aDavid Gwynne
2014-07-10introduce bpf_mcopy_stripvlan, which cuts the 4 extra bytes out of theHenning Brauer
2014-07-09tedu bpf_mtap_pflog().Henning Brauer
2014-07-09bpf code surgery / shuffling / simplification.Henning Brauer
2012-03-26Add DLT_PPP_SERIAL and DLT_C_HDLC to bpf.h even though the system will notClaudio Jeker
2011-07-26__arm32__ -> __arm__, since our new compiler isn't defining theMartynas Venckus
2010-10-29Align to 32-bits instead of sizeof(long) which may be bigger. There is noCan Erkin Acar
2010-09-21pflog overhaulHenning Brauer
2010-06-26bye bye DLT_OLD_PFLOG & friends. dead since 2003. 7 years oughta be enoughHenning Brauer
2008-12-22Change DLT_MPLS number.Michele Marchetto
2008-11-26dont have bpf.h expose the kernel ticks variable wherever it is includeing.David Gwynne
2008-11-09Introduce bpf_mtap_ether(), which for the benefit of bpf listenersChristian Weisgerber
2008-06-29this stupid per-arch SIZEOF_BPF_HDR define is really really stupid, butTheo de Raadt
2008-05-06bring in the mpe interface - for ``MPLS Provider Edge'' - this is a workPierre-Yves Ritschard
2006-03-25allow bpf(4) to ignore packets based on their direction (inbound orDamien Miller
2005-11-03re-implement the bpf "filter drop" option that it actually works. theReyk Floeter
2005-07-31Introduce bpf_mtap_af and bpf_mtap_hdr to be used when passing a mbuf chainChristopher Pascoe
2005-01-07add support for BIOCGDLTLIST and BIOCSDLT, see bpf(4)Reyk Floeter
2004-12-17knf cleanup, convert old k&r-style functions to ansi-style for aReyk Floeter
2004-06-22Add a new "filter drop" flag to bpf and related ioclts.Can Erkin Acar
2004-05-16add DLT_PPP_ETHER DLT typeBrad Smith
2004-04-26- make the k field in struct bpf_insn unsigned, as promised in theOtto Moerbeek
2004-02-06as seen in netbsd. crank bpf sizes to adapt to faster networks.Ted Unangst
2003-10-22Add locking and write filtering to bpf descriptors.Can Erkin Acar
2003-08-25add DLT_IEEE802_11; deraadt@ ok.Federico G. Schwindt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-05-14Use official (from pcap people) link type for pflog.Can Erkin Acar
2002-11-29minor KNFHenning Brauer
2002-11-29expose state table changesMichael Shalayeff