srsLTE/lib/include/srslte/common
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.
2021-01-11 15:45:48 +01:00
..
backtrace.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
basic_pnf.h move choice_type to adt folder 2020-12-12 15:59:27 +01:00
basic_vnf.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
basic_vnf_api.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
bcd_helpers.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
block_queue.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
buffer_pool.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
common.h common: extend timestamp interface for byte_buffer 2020-12-17 17:46:55 +01:00
common_helper.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
config_file.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
crash_handler.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
enb_events.h Backport some changes from FAPI branch (#2124) 2020-12-16 13:48:48 +01:00
epoll_helper.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
fsm.h move choice_type to adt folder 2020-12-12 15:59:27 +01:00
gen_mch_tables.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
int_helpers.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
interfaces_common.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
liblte_security.h update license header for liblte_*.{h,cc} files 2020-12-12 15:59:26 +01:00
log.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
log_filter.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
log_helper.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
logger.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
logger_srslog_wrapper.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
logmap.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
mac_nr_pcap.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
mac_pcap.h pcap: make public interfaces thread-safe and handle fopen returning nullptr 2021-01-11 15:45:48 +01:00
metrics_hub.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
multiqueue.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
nas_pcap.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
netsource_handler.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
network_utils.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
pcap.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
rlc_pcap.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
rwlock_guard.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
s1ap_pcap.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
s3g.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
security.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
signal_handler.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
singleton.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
ssl.h remove AGPL header from remaining cpp files 2020-12-12 15:59:26 +01:00
stack_procedure.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
standard_streams.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
string_helpers.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
task_scheduler.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
test_common.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
thread_pool.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
threads.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
time_prof.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
timeout.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
timers.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
trace.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
tti_point.h fix compilation issue with user-defined fmt formatter 2020-12-12 15:59:26 +01:00
tti_sempahore.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
tti_sync.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
tti_sync_cv.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
zuc.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00