summaryrefslogtreecommitdiffstats
path: root/contrib/libpcap
Commit message (Collapse)AuthorAgeFilesLines
* Remove more unused files.rpaulo2010-10-295-590/+0
|
* Remove unused files.rpaulo2010-10-2948-8225/+0
|
* Merge libpcap-1.1.1.rpaulo2010-10-29203-4500/+19746
|\
* | Revised revision 199201 (add interface description capability as inspireddelphij2010-01-271-3/+13
| | | | | | | | | | | | | | | | by OpenBSD), based on comments from many, including rwatson, jhb, brooks and others. Sponsored by: iXsystems, Inc. MFC after: 1 month
* | Revert revision 199201 for now as it has introduced a kernel vulnerabilitydelphij2009-11-121-12/+4
| | | | | | | | and requires more polishing.
* | Add interface description capability as inspired by OpenBSD.delphij2009-11-111-4/+12
| | | | | | | | MFC after: 3 months
* | Revert previous commit that commented out some bpf functions.rpaulo2009-04-115-9/+9
| | | | | | | | | | | | Unconstify arguments of bpf_image(), bpf_filter() and bpf_dump(). This is needed because some ports rely heavely on these arguments (some of them even roll out their own implemenentations of bpf_dump).
* | Restore local change to include <sys/bpf.h> inside pcap.h. This fixesrpaulo2009-04-022-6/+2
| | | | | | | | remaining ports build problems.
* | Remove a dangling extern "C" declaration that was missed during therpaulo2009-03-311-4/+0
| | | | | | | | | | | | merge. Fixes C++ ports using libpcap (nmap, for example). Submitted by: Daniel Roethlisberger <daniel at roe.ch>
* | Fixed indentation for LINKTYPE_ENCvanhu2009-03-241-1/+1
| | | | | | | | Approved by: gnn(mentor)
* | bpf_filter() and bpf_validate() can't live here if they already live inrpaulo2009-03-221-2/+2
| | | | | | | | bpf.h
* | Remove remaining references to BIOCSETBUFMODE ifdefs. We now haverpaulo2009-03-211-7/+0
| | | | | | | | another ifdef for zerocopy bpf.
* | Finish merge of zerocopy bpf.rpaulo2009-03-211-156/+0
| |
* | Merge libpcap 1.0.0.rpaulo2009-03-21156-10691/+25065
|\ \ | |/
| * Flatten vendor/libpcap and remove keyword expansion.rpaulo2009-03-2097-54701/+0
| |
* | Add Mac OS X stuff.rpaulo2009-03-211-0/+2
| |
* | Add a couple more paths.rpaulo2009-03-211-0/+2
| |
* | Add exclude list for libpcap.rpaulo2009-03-211-0/+3
| |
* | Added DLT_ENC to map list, so it is now possiblevanhu2009-03-161-0/+3
| | | | | | | | | | | | | | | | to save dumps on enc0 Reviewed by: gnn(mentor) Obtained from: NETASQ MFC after: 1 week
* | Implement zero-copy bpf(4) buffer or "zbuf" support for libpcap. A slightlycsjp2008-09-163-37/+354
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | different version has been committed upstream in the libpcap vendor branch. This will allow people to experiment with zero-copy bpf(4) without requiring external patches. Note to enable this functionality: sysctl net.bpf.zerocopy_enable=1 By default, libpcap will use the legacy buffering method unless this sysctl variable is set to 1. For the details about zero-copy bpf(4) implementation see svn change r177548. Requested by: many Discussed with: sam In collaboration with: rwatson
* | Revert back to including the whole net/bpf.h again.mlaier2007-10-201-3/+1
| | | | | | | | | | Requested by: sam, nork X-MFC after: now
* | Resolve merge conflictsmlaier2007-10-1612-893/+965
| | | | | | | | | | Approved by: re (kensmith) Obtained from: tcpdump.org
* | This commit was generated by cvs2svn to compensate for changes in r172677,mlaier2007-10-1624-3037/+4903
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import of libpcap v0.9.8mlaier2007-10-1634-3478/+5892
| |
* | Add three new ioctl(2) commands for bpf(4).jkim2007-02-261-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - BIOCGDIRECTION and BIOCSDIRECTION get or set the setting determining whether incoming, outgoing, or all packets on the interface should be returned by BPF. Set to BPF_D_IN to see only incoming packets on the interface. Set to BPF_D_INOUT to see packets originating locally and remotely on the interface. Set to BPF_D_OUT to see only outgoing packets on the interface. This setting is initialized to BPF_D_INOUT by default. BIOCGSEESENT and BIOCSSEESENT are obsoleted by these but kept for backward compatibility. - BIOCFEEDBACK sets packet feedback mode. This allows injected packets to be fed back as input to the interface when output via the interface is successful. When BPF_D_INOUT direction is set, injected outgoing packet is not returned by BPF to avoid duplication. This flag is initialized to zero by default. Note that libpcap has been modified to support BPF_D_OUT direction for pcap_setdirection(3) and PCAP_D_OUT direction is functional now. Reviewed by: rwatson
* | sigh, put back buffer overflow fix of 1.1.11 that seems to havesam2006-09-041-1/+3
| | | | | | | | | | not gone into the 0.9.4 release; don't put it on the vendor branch so we won't lose it on the next import if they continue to lose it
* | update instructionssam2006-09-041-13/+12
| |
* | resolve merge conflictssam2006-09-047-85/+262
| | | | | | | | MFC after: 1 month
* | This commit was generated by cvs2svn to compensate for changes in r162012,sam2006-09-0422-293/+3983
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import of libpcap v0.9.4sam2006-09-0429-381/+4246
| |
* | This commit was generated by cvs2svn to compensate for changes in r154439,sam2006-01-161-1/+1
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * correct dlt buffer alloc; this goes on the vendor branch as itsam2006-01-161-1/+1
| | | | | | | | | | | | will be committed there shortly MFC after: 3 days
* | resolve merge conflictssam2005-07-1110-544/+1556
| | | | | | | | Approved by: re (scottl)
* | This commit was generated by cvs2svn to compensate for changes in r147894,sam2005-07-1128-282/+1239
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Virgin import of libpcap v0.9.1 (release) from tcpdump.orgsam2005-07-1138-730/+2803
| | | | | | | | Approved by: re (scottl)
* | resolve merge conflictssam2005-05-2910-895/+600
| | | | | | | | Reviewed by: bms (earlier version)
* | This commit was generated by cvs2svn to compensate for changes in r146768,sam2005-05-2943-1058/+6642
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Virgin import of libpcap v0.9.1 (alpha 096) from tcpdump.orgsam2005-05-2953-1344/+7271
| |
* | pcap clients should use strlcpy() from the base system libc by default also.bms2004-03-311-7/+0
| |
* | snprintf() and vsnprintf() are part of our base system libc, thereforebms2004-03-311-10/+0
| | | | | | | | | | | | | | | | | | pcap should not fall back to its own implementations in the absence of HAVE_SNPRINTF and HAVE_VSNPRINTF defines when compiled and installed as part of the world. This should fix builds of pflogd and packages depending on the base system libpcap. Reported by: Andrzej Tobola
* | Correct imported pcap.h for FreeBSD builds.bms2004-03-311-7/+1
| |
* | Merge of libpcap 0.8.3 from tcpdump.org.bms2004-03-3111-918/+2781
| |
* | This commit was generated by cvs2svn to compensate for changes in r127664,bms2004-03-3154-3070/+13564
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import libpcap 0.8.3, from http://www.tcpdump.org/releases/libpcap-0.8.3.tar.gzbms2004-03-3164-3499/+16463
| |
* | Remove a reference to part of the pcap API not yet merged.green2003-11-041-10/+0
| |
* | * Modify libpcap to work a bit better with our 802.11 code. This meansgreen2003-11-042-10/+55
| | | | | | | | | | | | | | | | | | | | | | | | tcpdump -y ieee802_11 will work in the basic senses, including the code compilation for filters (where you may specify "link[]" to refer to parts of the 802.11 header, as well as treat it like a normal Ethernet header). Previously, it was just too far off to do anything useful for us. * While I'm here, fix some compile problems that will result from lex and yacc namespace polution when linking with -lpcap. The namespace is now "pcapyy*" instead of "yy*", and it tests fine with world and some external applications that may or may not use "yy*".
* | Merge multi-DLT support.fenner2003-01-264-0/+41
| |
* | This commit was generated by cvs2svn to compensate for changes in r109839,fenner2003-01-263-1/+72
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Commit tcpdump.org's multi-DLT support to vendor branch.fenner2003-01-267-1/+113
| |
* | Merge libpcap 0.7.1fenner2002-06-219-106/+1270
| | | | | | | | MFC after: 2 weeks
OpenPOWER on IntegriCloud