summaryrefslogtreecommitdiffstats
path: root/lib/libpcap/gencode.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo in pflog header size computation. Fixes filtering with the newcanacar2010-10-091-2/+2
| | | | pflog headers. reported by jmc@, tested by jmc@ and sthen@, ok sthen@
* Make tcpdump of pflog interfaces work with 'net <net>' expression.krw2010-09-081-3/+3
| | | | | | My problem, canacar@'s fix. ok sthen@ canacar@
* Properly handle the size field in pflog link headercanacar2010-07-271-45/+236
| | | | | | | | | when generating the filter. This will allow the pflog header to be extended without adding a new link type. No change to generated code for other link types. ok henning@
* remove support for the old pflog format, replaced in 2003henning2010-06-261-34/+1
| | | | ok ryan theo & herr reyksminister
* Zero out IPv6 mask before using it. This fixes expressions likebluhm2009-09-181-1/+2
| | | | | | 'net 2002::/16', which were previously non-deterministic based on the previous contents of memory. from upstream; ok claudio@
* Swap the code for a calling function and what it calls, so that the calledderaadt2008-06-151-14/+14
| | | | | function is in scope and a pointer is not returned via an int ok dtucker
* Import vlan support from upstream libpcap. This allows, eg, "tcpdump vla 3"dtucker2008-06-111-1/+99
| | | | to work on a vlan parent interface. ok mcbride@, "commit it" deraadt@
* fix format stringchl2007-11-061-2/+2
| | | | ok ray@ gilles@
* remove extra \n in bpf_error() calls.reyk2007-01-021-10/+10
| | | | figured out by claudio@
* define bpf filters to match address and header fields in IEEE 802.11reyk2007-01-021-10/+194
| | | | | | | | wlan frames (DLT_IEEE802_11 and DLT_IEEE802_11_RADIO linktypes). see tcpdump(8) for details. "Works for me" claudio@ ok jmc@ deraadt@
* get rid of arc network support. we have no users of it so this is deaddlg2006-07-181-93/+1
| | | | | | | code. however, it is still cluttering up the kernel namespace a bit. it is better gone. ok claudio@
* Add Spanning Tree Protocol support.mpf2005-10-071-3/+54
| | | | | Bump version to 3.1. OK brad@
* Fix description in a comment.joel2005-06-041-2/+2
|
* add DLT_IEEE802_11_RADIO (802.11 + radiotap header)reyk2005-02-281-1/+6
| | | | ok jsg@ deraadt@
* add DLT_PPP_ETHER supportbrad2004-05-211-1/+11
| | | | | | ok canacar@ From: Marc Huber <pppoe at pro-bono-publico dot de>
* remove $Header, it was messing up cvs for me. ok deraadt@tedu2004-01-271-5/+1
|
* add DLT_IEEE802_11 support; from NetBSD. bump minor.fgsch2004-01-261-2/+7
| | | | deraadt@ ok.
* libpcap and tcpdump now understand the new pflog datalink type.canacar2003-05-141-19/+100
| | | | | | old datalink type is still recognized. ok henning@ dhartmei@ frantzen@
* tcpdump support for pfsync; henning@ okmickey2002-11-291-2/+7
|
* more error checking of memory allocation, from clodder@acm.org. okay deraadt@provos2002-07-091-2/+5
|
* language extensions for PF logs. can specify direction, interface, rulefrantzen2002-03-231-9/+96
| | | | number, reason and action. fix the ipv4/ipv6 distinction while I'm here.
* We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.millert2002-02-191-18/+2
|
* fix memory leak associated with compiled BPF program, sync'd from tcpdump.org. ok itojun@dugsong2001-12-171-2/+16
|
* DLT_PFLOGprovos2001-06-251-2/+8
|
* sync with libpcap v0.5jakob2000-04-261-23/+998
| | | | add support for INET6 (kame)
* changes brought in from v0.4; started by brad, more by me, being tested by mtsderaadt1999-07-201-96/+219
|
* DLT_LOOP has network byte order headerderaadt1998-08-311-2/+8
|
* buf oflowsderaadt1998-07-141-2/+3
|
* handle IPSec processed packets (DLT_ENC) in libpcap, display them withprovos1998-06-111-1/+7
| | | | tcpdump + additional info (SPI + which type of transforms where passed).
* add DLT_LOOP support; 4-byte header indicates proto; cstone@pobox.comderaadt1998-06-041-2/+8
|
* #if __STDC__ --> #ifdef __STDC__mickey1997-07-251-5/+5
|
* Use __inlinetholo1996-09-161-11/+11
|
* bring it to the latest 0.2 LBL release.mickey1996-07-121-104/+162
|
* merge to latest libpcapderaadt1996-06-101-63/+63
|
* Update to the latest LBL release.mickey1996-03-041-0/+1
|
* initial import of NetBSD treederaadt1995-10-181-0/+1757