summaryrefslogtreecommitdiffstats
path: root/lib/libpcap
Commit message (Collapse)AuthorAgeFilesLines
* Regenerate our lib/libpcap/config.h for libpcap 1.1.1.dim2010-10-291-26/+56
|
* add pcap-common.c.rpaulo2010-10-291-1/+1
| | | | Submitted by: dim
* Update for libpcap-1.1.1.rpaulo2010-10-291-1/+1
|
* Build lib/ with WARNS=6 by default.ed2010-01-021-0/+2
| | | | | | | | | Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed. I'm setting WARNS?=0 for secure/. It seems secure/ includes the Makefile.inc provided by lib/. I'm not going to touch that directory. Most of the code there is contributed anyway.
* Bump the version of all non-symbol-versioned shared libraries inkensmith2009-07-191-1/+1
| | | | | | | | preparation for 8.0-RELEASE. Add the previous version of those libraries to ObsoleteFiles.inc and bump __FreeBSD_Version. Reviewed by: kib Approved by: re (rwatson)
* Fix typo in comment.rpaulo2009-03-221-1/+1
|
* Install the new headers.rpaulo2009-03-221-0/+7
|
* Support files for new libpcap 1.0.0.rpaulo2009-03-212-50/+133
| | | | Includes a shlib bump.
* Add links to all libpcap functions.pjd2008-08-281-0/+48
|
* Change bpf(4) to use the cdevpriv API.ed2008-08-131-1/+1
| | | | | | | | | | | | | | | | | | Right now the bpf(4) driver uses the cloning API to generate /dev/bpf%u. When an application such as tcpdump needs a BPF, it opens /dev/bpf0, /dev/bpf1, etc. until it opens the first available device node. We used this approach, because our devfs implementation didn't allow per-descriptor data. Now that we can, make it use devfs_get_cdevpriv() to obtain the private data. To remain compatible with the existing implementation, add a symlink from /dev/bpf0 to /dev/bpf. I've already changed libpcap to compile with HAVE_CLONING_BPF, which makes it use /dev/bpf. There may be other applications in the base system (dhclient) that use the loop to obtain a valid bpf. Discussed on: src-committers Approved by: csjp
* Update for libpcap 0.9.8 importmlaier2007-10-162-3/+28
|
* Bump library versions in preparation for 7.0.deischen2007-05-211-1/+1
| | | | Ok'd by: kan
* Place shared libpcap library under /lib, currently needed byru2006-04-131-0/+2
| | | | | | /sbin/ipf and /sbin/pflogd. OK'ed by: mlaier
* Reimplementation of world/kernel build options. For details, see:ru2006-03-171-1/+3
| | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
* bump SHLIB_MAJOR as libpcap refers getnetbyname(3).ume2005-06-031-1/+1
| | | | Noticed by: ru
* update for import of v0.9.1-096sam2005-05-291-61/+125
|
* NOINET6 -> NO_INET6ru2004-12-212-2/+2
|
* Bump the library version numbers for the following libraries:kensmith2004-10-011-1/+1
| | | | | | | | | | | /lib/{libm,libreadline} /usr/lib/{libhistory,libopie,libpcap} in preparation for doing the same thing to RELENG_5. HUGE amounts of help for determining what to bump provided by kris. Discussed on: freebsd-current Approved by: re (not required for commit but something like this should be)
* Merge of libpcap 0.8.3 from tcpdump.org.bms2004-03-311-4/+10
|
* * Modify libpcap to work a bit better with our 802.11 code. This meansgreen2003-11-041-1/+3
| | | | | | | | | | | | 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*".
* Zap now-unused SHLIB_MINORpeter2002-09-281-1/+0
|
* Update for libpcap 0.7.1fenner2002-06-211-6/+23
|
* Added new bsd.incs.mk which handles installing of header filesru2002-05-121-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | via INCS. Implemented INCSLINKS (equivalent to SYMLINKS) to handle symlinking include files. Allow for multiple groups of include files to be installed, with the powerful INCSGROUPS knob. Documentation to follow. Added standard `includes' and `incsinstall' targets, use them in Makefile.inc1. Headers from the following makefiles were not installed before (during `includes' in Makefile.inc1): kerberos5/lib/libtelnet/Makefile lib/libbz2/Makefile lib/libdevinfo/Makefile lib/libform/Makefile lib/libisc/Makefile lib/libmenu/Makefile lib/libmilter/Makefile lib/libpanel/Makefile Replaced all `beforeinstall' targets for installing includes with the INCS stuff. Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS, and for compatibility with NetBSD. Similarly for INCOWN, INCGRP, and INCMODE. Consistently use INCLUDEDIR instead of /usr/include. gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes were only lightly tested due to the missing contrib/libstdc++-v3. I fully tested the pre-WIP_GCC31 version of this patch with the contrib/libstdc++.295 stuff. These changes have been tested on i386 with the -DNO_WERROR "make world" and "make release".
* Update our bpf.h with tcpdump.org's new DLT_ types.fenner2001-07-311-1/+1
| | | | Use our bpf.h instead of tcpdump.org's to build libpcap.
* Fixed world breakage in previous commit (config.h was inaccessiblebde2001-04-031-4/+2
| | | | | | | except in the unusual case where ${.OBJDIR} == ${.CURDIR}). Fixed nearby style bugs (the DEFS variable had rotted to be just an obfuscation).
* Update for libpcap 0.6.2fenner2001-04-032-8/+106
|
* MAN[1-9] -> MAN.ru2001-03-271-1/+1
|
* Don't try to compile in INET6 support when NOINET6 is defined.steve2000-04-151-1/+4
|
* Upgrade to libpcap 0.5fenner2000-01-301-2/+2
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Fixed CLEANFILES.bde1998-12-271-2/+2
|
* Bump minor version number and add version.c to update to version 0.4fenner1998-09-151-3/+7
| | | | PR: bin/7877
* do not include private copy of bpf.h - it leads to dangerous mismatchache1998-08-181-2/+2
| | | | of kernel/user bpf interface - include updated /sys/net/bpf.h instead
* Simplified by using new yacc rules.bde1998-05-081-9/+6
|
* Also install pcap-int.h so things can call pcap_compile on arbitarypeter1997-10-101-2/+2
| | | | expressions (eg: in pppd)
* Changes to support full make parallelism (-j<n>) in the worldjkh1997-10-051-1/+2
| | | | | | target. Reviewed by: <many different folks> Submitted by: Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
* Bump minor version number.fenner1997-05-271-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add -I${PCAP_DISTDIR}/bpf to CFLAGS since our <net/bpf.h> is out of date. Remove -Wall and -Dlint. DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 \ -DHAVE_SOCKADDR_SA_LEN=1 -DLBL_ALIGN=1 CFLAGS+=-I. -Dyylval=pcap_lval ${DEFS} SHLIB_MAJOR=2 SHLIB_MINOR=2 # # Magic to grab sources out of src/contrib # PCAP_DISTDIR?=${.CURDIR}/../../contrib/libpcap CFLAGS+=-I${PCAP_DISTDIR} -I${PCAP_DISTDIR}/lbl -I${PCAP_DISTDIR}/bpf .PATH: ${PCAP_DISTDIR} .PATH: ${PCAP_DISTDIR}/bpf/net beforeinstall: .for i in pcap.h pcap-namedb.h ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${PCAP_DISTDIR}/$i \ ${DESTDIR}/usr/include .endfor tokdefs.h grammar.c: grammar.y ${YACC} ${YACCFLAGS} -d ${PCAP_DISTDIR}/grammar.y mv y.tab.c grammar.c mv y.tab.h tok/home/ncvs/CVSROOT/commitcheck
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Fix Makefile so that dependencies are actually right this time.wollman1997-01-051-8/+8
| | | | | It is almost always the wrong thing to put .y and .l files directly into the SRCS.
* cmp -s || install -c ==> install -C, use .for loop for includespeter1996-08-301-8/+5
|
* Uniquely name the distribution directory variable so that it can be overriddenpst1996-08-211-9/+9
| | | | for multiple packages at the same time.
* Bump shared library number to 2.1pst1996-08-201-3/+5
|
* Grab libpcap sources out of contrib_libpcap modulepst1996-08-1927-9081/+23
|
* Define ETHER_SERVICE, since we have one. ie: use getetherxxx() insteadpeter1996-08-191-2/+2
| | | | of parsing /etc/ethers manually. This allows it to read NIS.
* General -Wall warning cleanup, part I.jkh1996-07-125-6/+11
| | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu>
* backout yacc changesphk1996-06-021-2/+2
|
* yacc rule change.phk1996-05-301-3/+3
|
* ``mv'' -> ``mv -f''wosch1996-05-071-2/+2
| | | | | ``rm'' -> ``rm -f'' so mv/rm may not ask for confirmation if you are not root
* Fixed incomplete or wrong lists of prerequisite #includes related tobde1996-05-011-0/+2
| | | | <sys/types.h>.
OpenPOWER on IntegriCloud