You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Andre Puschmann 78b07daf3b pcap: make public interfaces thread-safe and handle fopen returning nullptr
the previous patch only introduced a thread-safe queue between
PHY workers (writers) and PCAP writer thread (consumer).

However, it is also required to protect the ctor (and close()) to
prevent corrupted PCAP files.

The patch also correctly handles the case where the PCAP couldn't
be openend for writing and doesn't start the thread.
4 years ago
..
examples fix various uninit vars detected by cppcheck 4 years ago
include pcap: make public interfaces thread-safe and handle fopen returning nullptr 4 years ago
src pcap: make public interfaces thread-safe and handle fopen returning nullptr 4 years ago
test pcap: make PCAP write thread-safe 4 years ago
CMakeLists.txt change license header to agnostic version with hint to root LICENSE file 4 years ago