summaryrefslogtreecommitdiffstats
path: root/lib/libpcap/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2019-09-25mdoc version of pcap-filter;jmc1-2/+2
conversion suggested by deraadt, as well as renaming from section 7 to section 5; ok deraadt
2019-09-03pcap-filter(3) is not a function, it is a language description. It wasderaadt1-2/+2
mostly cobbled together from a pre-mandoc tcpdump manual page, and desperately needs some loving. First step is to name it right. Discussed with jmc
2019-08-30there is no pcap(3) function, "man pcap" returns an incorrect result.deraadt1-2/+2
this page should be called by one of the functions, so i chose the first one: pcap_open_live(3)
2017-07-09use working boilerplate for yacc/lex instead of homemade rules.espie1-8/+4
okay millert@ (forgot the obvious scanner.l tweak in my diff)
2016-03-30for some time now mandoc has not required MLINKS to functionjmc1-27/+1
correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung
2013-06-19Do not install pcap-int.h to /usr/include as it is an internal librarylteo1-2/+2
header (pointed out by matthew@). Let only pflogd and tcpdump include pcap-int.h directly since they need it for privilege separation. "looks good" sthen feedback/ok deraadt matthew millert
2012-08-02remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets.okan1-2/+1
ok guenther@
2012-07-16Add a man page describing pcap grammargiovanni1-2/+2
help from lteo@, claudio, jmc@ ok jmc@
2012-05-25Import a number of core functions from libpcap-1.2.0 while preservinglteo1-3/+7
local changes: strncpy() -> strlcpy(), malloc(x * y) -> calloc(x, y), exclude cross-platform cruft, etc. The new functions are pcap_create(), pcap_set_snaplen(), pcap_set_promisc(), pcap_can_set_rfmon(), pcap_set_rfmon(), pcap_set_timeout(), pcap_set_buffer_size(), pcap_activate(), and pcap_statustostr(). This diff was tested on amd64, i386, macppc, and sparc64, where regression tests were done on various pcap-based ports (especially amd64 and i386 where regression tests were run on all pcap-based ports). Testers also tried running pcap-based ports that they are familiar with to ensure that there is no behavioral change. tcpdump and pflogd in base were also tested by different testers. The new pcap_* functions were tested with a proof-of-concept Snort 2.9 port for many months. Thank you to everyone who helped test this diff and provided feedback: haesbaert@, sthen@, matthew@, gonzalo@, brett@, Rodolfo Gouveia, Aaron Bieber, Markus Lude, and Ray Percival. ok haesbaert sthen henning
2009-08-13various MLINK fixes from Alan R. S. Bueno;jmc1-2/+3
2006-09-18+MLINK pcap.3 pcap_get_selectable_fd.3jmc1-3/+3
from okan demirmen
2006-03-27MLINK to new man pagesderaadt1-2/+5
2005-11-24use WANTLINT= (on all architectures)deraadt1-1/+2
2005-11-18pull in the good bits of libpcap-0.9.4's API without the cross-platformdjm1-3/+10
cruft. help from deraadt@, mpf@, jmc@; ok mpf@a nb. this will break tcpdump unless it updated too
2003-02-20fix a variety of missing or wrong MLINKSderaadt1-2/+3
2001-11-22Broken use of .IMPSRC in non-inference rule contextespie1-3/+3
2000-04-26sync with libpcap v0.5jakob1-2/+3
add support for INET6 (kame)
2000-04-13use getifaddrs, to avoid copmlicated align constraint in SIOCGIFCONF.itojun1-2/+2
1999-11-17add MLINKsmillert1-1/+11
1999-07-20changes brought in from v0.4; started by brad, more by me, being tested by mtsderaadt1-7/+14
1998-02-26Enable YP ethers lookupniklas1-2/+2
1997-04-27COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIPmillert1-2/+2
This fixes namespace problems where STRIP is sometimes used as the name of the strip(1) to use and other times used as the flag to send install(1) when stripping (or not). COPY doesn't have this problem (yet) but was poorly named.
1996-12-08install -> ${INSTALL}, -c -> ${COPY}downsj1-2/+2
1996-08-03We have strerror(3) availableniklas1-2/+2
1996-06-18libpcap used yyparse(), which is bad; netbsd pr#2031; lukem@supp.cpr.itg.telecom.com.auderaadt1-3/+10
1996-06-10merge to latest libpcapderaadt1-5/+6
1996-05-06hard-code the include installation path (mostly for speed)deraadt1-3/+3
1996-03-04Update to the latest LBL release.mickey1-0/+1
1995-10-18initial import of NetBSD treederaadt1-0/+24