summaryrefslogtreecommitdiff
path: root/lib/libform/fld_arg.c
diff options
context:
space:
mode:
authorLawrence Teo <lteo@cvs.openbsd.org>2012-05-25 01:58:09 +0000
committerLawrence Teo <lteo@cvs.openbsd.org>2012-05-25 01:58:09 +0000
commit8093f5e607f42cbabe8359e77f8982ec908b2bac (patch)
treee8e8a3293ceb69d286241fb70129b56c28cbdb86 /lib/libform/fld_arg.c
parent69f23bc61c36de2f09f0f566e98df6fce92c6571 (diff)
Import a number of core functions from libpcap-1.2.0 while preserving
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
Diffstat (limited to 'lib/libform/fld_arg.c')
0 files changed, 0 insertions, 0 deletions