<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libpcap/savefile.c, branch jd/histogram</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libpcap/savefile.c?h=jd%2Fhistogram</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libpcap/savefile.c?h=jd%2Fhistogram'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-05-27T04:24:01Z</updated>
<entry>
<title>add support for pcap_breakloop when reading packets from files.</title>
<updated>2020-05-27T04:24:01Z</updated>
<author>
<name>dlg</name>
<email>dlg@openbsd.org</email>
</author>
<published>2020-05-27T04:24:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c5e4be465a16a5443f18a26b06c2477e1d4700f7'/>
<id>urn:sha1:c5e4be465a16a5443f18a26b06c2477e1d4700f7</id>
<content type='text'>
djm pulled support in for pcap_breakloop on the bpf side of things,
this makes it work when reading files too.

from Caspar Schutijser
lteo@ seems keen
ok djm@
</content>
</entry>
<entry>
<title>remove NULL-checks before free()</title>
<updated>2015-12-22T19:51:04Z</updated>
<author>
<name>mmcc</name>
<email>mmcc@openbsd.org</email>
</author>
<published>2015-12-22T19:51:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=526dd6c5d3f736e0961520465d497f611c784d4f'/>
<id>urn:sha1:526dd6c5d3f736e0961520465d497f611c784d4f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove register keyword.</title>
<updated>2015-11-17T21:39:23Z</updated>
<author>
<name>mmcc</name>
<email>mmcc@openbsd.org</email>
</author>
<published>2015-11-17T21:39:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d0438536cfcbebd703fe24248f4c4ca60ab26ccf'/>
<id>urn:sha1:d0438536cfcbebd703fe24248f4c4ca60ab26ccf</id>
<content type='text'>
ok deraadt@
</content>
</entry>
<entry>
<title>memory.h -&gt; string.h</title>
<updated>2015-11-17T18:19:45Z</updated>
<author>
<name>mmcc</name>
<email>mmcc@openbsd.org</email>
</author>
<published>2015-11-17T18:19:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3a9b5ec49390d98939399aef455f73fbfa3226f6'/>
<id>urn:sha1:3a9b5ec49390d98939399aef455f73fbfa3226f6</id>
<content type='text'>
ok deraadt@
</content>
</entry>
<entry>
<title>Remove pointless casts for several malloc/calloc/free calls.  No object</title>
<updated>2015-01-16T03:19:57Z</updated>
<author>
<name>lteo</name>
<email>lteo@openbsd.org</email>
</author>
<published>2015-01-16T03:19:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1b8dcd42e689e6f9a3568339cefb3dfb6453a1a9'/>
<id>urn:sha1:1b8dcd42e689e6f9a3568339cefb3dfb6453a1a9</id>
<content type='text'>
file change.
</content>
</entry>
<entry>
<title>Remove pointless casts.  No binary change.</title>
<updated>2014-03-14T03:45:41Z</updated>
<author>
<name>lteo</name>
<email>lteo@openbsd.org</email>
</author>
<published>2014-03-14T03:45:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=66cf3f763b9e16c4f738abc6d7ee84b2faccebbf'/>
<id>urn:sha1:66cf3f763b9e16c4f738abc6d7ee84b2faccebbf</id>
<content type='text'>
suggested by krw@
</content>
</entry>
<entry>
<title>Change a few malloc+memset calls to calloc.</title>
<updated>2014-03-14T03:44:13Z</updated>
<author>
<name>lteo</name>
<email>lteo@openbsd.org</email>
</author>
<published>2014-03-14T03:44:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8d365cd491fb84475ed1d9f04dd021b27ddcc513'/>
<id>urn:sha1:8d365cd491fb84475ed1d9f04dd021b27ddcc513</id>
<content type='text'>
ok deraadt@ florian@
</content>
</entry>
<entry>
<title>Import a number of core functions from libpcap-1.2.0 while preserving</title>
<updated>2012-05-25T01:58:08Z</updated>
<author>
<name>lteo</name>
<email>lteo@openbsd.org</email>
</author>
<published>2012-05-25T01:58:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1129793556fad272189655666c6f2b2527cc9692'/>
<id>urn:sha1:1129793556fad272189655666c6f2b2527cc9692</id>
<content type='text'>
local changes: strncpy() -&gt; strlcpy(), malloc(x * y) -&gt; 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
</content>
</entry>
<entry>
<title>add remaining tcpdump.org libpcap 0.9 APIs, most notably</title>
<updated>2006-03-26T20:58:50Z</updated>
<author>
<name>djm</name>
<email>djm@openbsd.org</email>
</author>
<published>2006-03-26T20:58:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c1bf12094404ebc3b7ccf06bb14f4f887336dff8'/>
<id>urn:sha1:c1bf12094404ebc3b7ccf06bb14f4f887336dff8</id>
<content type='text'>
pcap_setdirection() (which depends on the kernel-side bpf changes
committed yesterday); ok canacar@
</content>
</entry>
<entry>
<title>remove $Header,  it was messing up cvs for me.  ok deraadt@</title>
<updated>2004-01-27T06:58:02Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2004-01-27T06:58:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8b37c96afe52e428fcaef25eed025973f5f186eb'/>
<id>urn:sha1:8b37c96afe52e428fcaef25eed025973f5f186eb</id>
<content type='text'>
</content>
</entry>
</feed>
