aboutsummaryrefslogtreecommitdiff
path: root/contrib/libpcap
Commit message (Collapse)AuthorAgeFilesLines
...
* | This commit was generated by cvs2svn to compensate for changes in r172677,Max Laier2007-10-1624-3037/+4903
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=172678
| * Import of libpcap v0.9.8Max Laier2007-10-1634-3478/+5892
| | | | | | | | Notes: svn path=/vendor/libpcap/dist/; revision=172677
* | Add three new ioctl(2) commands for bpf(4).Jung-uk Kim2007-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 Notes: svn path=/head/; revision=167035
* | sigh, put back buffer overflow fix of 1.1.11 that seems to haveSam Leffler2006-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 Notes: svn path=/head/; revision=162020
* | update instructionsSam Leffler2006-09-041-13/+12
| | | | | | | | Notes: svn path=/head/; revision=162016
* | resolve merge conflictsSam Leffler2006-09-047-85/+262
| | | | | | | | | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=162015
* | This commit was generated by cvs2svn to compensate for changes in r162012,Sam Leffler2006-09-0422-293/+3983
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=162013
| * Import of libpcap v0.9.4Sam Leffler2006-09-0429-381/+4246
| | | | | | | | Notes: svn path=/vendor/libpcap/dist/; revision=162012
* | This commit was generated by cvs2svn to compensate for changes in r154439,Sam Leffler2006-01-161-1/+1
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=154440
| * correct dlt buffer alloc; this goes on the vendor branch as itSam Leffler2006-01-161-1/+1
| | | | | | | | | | | | | | | | | | will be committed there shortly MFC after: 3 days Notes: svn path=/vendor/libpcap/dist/; revision=154439
* | resolve merge conflictsSam Leffler2005-07-1110-544/+1556
| | | | | | | | | | | | | | Approved by: re (scottl) Notes: svn path=/head/; revision=147897
* | This commit was generated by cvs2svn to compensate for changes in r147894,Sam Leffler2005-07-1128-282/+1239
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=147895
| * Virgin import of libpcap v0.9.1 (release) from tcpdump.orgSam Leffler2005-07-1138-730/+2803
| | | | | | | | | | | | | | Approved by: re (scottl) Notes: svn path=/vendor/libpcap/dist/; revision=147894
* | resolve merge conflictsSam Leffler2005-05-2910-895/+600
| | | | | | | | | | | | | | Reviewed by: bms (earlier version) Notes: svn path=/head/; revision=146771
* | This commit was generated by cvs2svn to compensate for changes in r146768,Sam Leffler2005-05-2943-1058/+6642
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=146769
| * Virgin import of libpcap v0.9.1 (alpha 096) from tcpdump.orgSam Leffler2005-05-2953-1344/+7271
| | | | | | | | Notes: svn path=/vendor/libpcap/dist/; revision=146768
* | pcap clients should use strlcpy() from the base system libc by default also.Bruce M Simpson2004-03-311-7/+0
| | | | | | | | Notes: svn path=/head/; revision=127683
* | snprintf() and vsnprintf() are part of our base system libc, thereforeBruce M Simpson2004-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 Notes: svn path=/head/; revision=127682
* | Correct imported pcap.h for FreeBSD builds.Bruce M Simpson2004-03-311-7/+1
| | | | | | | | Notes: svn path=/head/; revision=127671
* | Merge of libpcap 0.8.3 from tcpdump.org.Bruce M Simpson2004-03-3111-918/+2781
| | | | | | | | Notes: svn path=/head/; revision=127667
* | This commit was generated by cvs2svn to compensate for changes in r127664,Bruce M Simpson2004-03-3154-3070/+13564
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=127665
| * Import libpcap 0.8.3, from http://www.tcpdump.org/releases/libpcap-0.8.3.tar.gzBruce M Simpson2004-03-3164-3499/+16463
| | | | | | | | Notes: svn path=/vendor/libpcap/dist/; revision=127664
* | Remove a reference to part of the pcap API not yet merged.Brian Feldman2003-11-041-10/+0
| | | | | | | | Notes: svn path=/head/; revision=122030
* | * Modify libpcap to work a bit better with our 802.11 code. This meansBrian Feldman2003-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*". Notes: svn path=/head/; revision=122029
* | Merge multi-DLT support.Bill Fenner2003-01-264-0/+41
| | | | | | | | Notes: svn path=/head/; revision=109841
* | This commit was generated by cvs2svn to compensate for changes in r109839,Bill Fenner2003-01-263-1/+72
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=109840
| * Commit tcpdump.org's multi-DLT support to vendor branch.Bill Fenner2003-01-267-1/+113
| | | | | | | | Notes: svn path=/vendor/libpcap/dist/; revision=109839
* | Merge libpcap 0.7.1Bill Fenner2002-06-219-106/+1270
| | | | | | | | | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=98533
* | This commit was generated by cvs2svn to compensate for changes in r98530,Bill Fenner2002-06-2132-840/+3224
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=98531
| * Import libpcap 0.7.1, fromBill Fenner2002-06-2142-949/+4511
| | | | | | | | | | | | | | http://www.tcpdump.org/release/libpcap-0.7.1.tar.gz Notes: svn path=/vendor/libpcap/dist/; revision=98530
* | Correct email address for bug reports and patch submissions.David E. O'Brien2002-02-081-1/+3
| | | | | | | | | | | | | | Submitted by: Marco Molteni <molter@tin.it> Notes: svn path=/head/; revision=90412
* | Merge libpcap 0.6.2Bill Fenner2001-04-0311-277/+982
| | | | | | | | Notes: svn path=/head/; revision=75110
* | This commit was generated by cvs2svn to compensate for changes in r75107,Bill Fenner2001-04-0339-1046/+5096
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=75108
| * Virgin import of tcpdump.org libpcap v0.6.2Bill Fenner2001-04-0351-1316/+6255
| | | | | | | | Notes: svn path=/vendor/libpcap/dist/; revision=75107
* | When pcap_compile() detects an error, it longjmp()'s out of theArchie Cobbs2001-01-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | scanner/parser. FreeBSD recently made 'flex' its default implementation of 'lex'. One of the incompatibilities of 'flex' vs. 'lex' is that if you longjmp() out of the scanner, you must call yyrestart() before doing another scan (as documented in flex(1)). So add an invocation to yyrestart() in lex_init(). This change should be backwards compatible with the original 'lex'. PR: bin/24116 Notes: svn path=/head/; revision=70735
* | This commit was generated by cvs2svn to compensate for changes in r63696,Bill Fenner2000-07-201-2/+3
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=63697
| * Import rev 1.26 of tcpdump.org's inet.c -- don't freeBill Fenner2000-07-201-2/+3
| | | | | | | | | | | | | | the buffer before it's used. Notes: svn path=/vendor/libpcap/dist/; revision=63696
| * Import of updated file for 0.5 releaseBill Fenner2000-03-041-5/+15
| | | | | | | | Notes: svn path=/vendor/libpcap/dist/; revision=57761
* | Fix make world breakage.Archie Cobbs2000-07-191-1/+1
| | | | | | | | | | | | | | Broken by: me Notes: svn path=/head/; revision=63532
* | Merge updated file for 0.5 release: handle "ip host foo" andBill Fenner2000-03-041-4/+14
| | | | | | | | | | | | | | | | | | | | "ip6 host foo" when foo has both IP and IP6 addresses. PR: bin/17083 Approved by: jkh Notes: svn path=/head/; revision=57763
* | Merge libpcap 0.5Bill Fenner2000-01-3010-53/+1153
| | | | | | | | Notes: svn path=/head/; revision=56891
* | This commit was generated by cvs2svn to compensate for changes in r56889,Bill Fenner2000-01-3032-179/+506
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=56890
| * Virgin import of tcpdump.org libpcap v0.5Bill Fenner2000-01-3042-210/+1629
| | | | | | | | Notes: svn path=/vendor/libpcap/dist/; revision=56889
* | Merge libpcap version 0.4Bill Fenner1998-09-155-28/+95
| | | | | | | | | | | | | | PR: bin/7877 Notes: svn path=/head/; revision=39294
* | This commit was generated by cvs2svn to compensate for changes in r39291,Bill Fenner1998-09-1519-245/+737
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=39292
| * Virgin import of LBL libpcap v0.4Bill Fenner1998-09-1525-379/+1140
| | | | | | | | Notes: svn path=/vendor/libpcap/dist/; revision=39291
* | None of the header files for the packet capture libraryPoul-Henning Kamp1998-08-073-0/+30
| | | | | | | | | | | | | | | | | | | | | | are suitable to include in a C++ file. PR: 7229 Reviewed by: phk Submitted by: Craig Spannring <cts@internetcds.com> Notes: svn path=/head/; revision=38151
* | Merge libpcap 0.3Bill Fenner1997-05-277-528/+52
| | | | | | | | | | | | | | | | | | Update FREEBSD-upgrade to mention bumping library version number. Suggested-by: Chris Timmons <skynyrd@opus.cts.cwu.edu> Notes: svn path=/head/; revision=26178
* | This commit was generated by cvs2svn to compensate for changes in r26175,Bill Fenner1997-05-2732-449/+1576
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=26176
| * Virgin import of libpcap 0.3Bill Fenner1997-05-2737-469/+1619
| | | | | | | | Notes: svn path=/vendor/libpcap/dist/; revision=26175