[PATCH v2 0/8] Packet capture cleanup
Stephen Hemminger
stephen at networkplumber.org
Thu Aug 14 18:52:56 CEST 2025
This patch series addresses the problem of packet capture when
the secondary process is sending/receiving by using the same
mechanism as hot plug. It also fixes some bugs on shutdown
of dumpcap (and pdump).
The documentation has been updated and improved as well.
v2 - add documentation
Stephen Hemminger (8):
dumpcap: handle primary process exit
pdump: handle primary process exit
pdump: fix races in callbacks
dumpcap: handle pdump requests from primary
pdump: handle pdump requests from primary
pdump: forward callback enable to secondary
pdump: remove use of VLA
doc: update documentation on pdump library
app/dumpcap/main.c | 14 +
app/pdump/main.c | 16 +-
doc/guides/prog_guide/img/pdump_overview.svg | 135 +++++++++
doc/guides/prog_guide/pdump_lib.rst | 183 ++++++++-----
lib/pdump/meson.build | 2 -
lib/pdump/rte_pdump.c | 273 ++++++++++++++++---
6 files changed, 514 insertions(+), 109 deletions(-)
create mode 100644 doc/guides/prog_guide/img/pdump_overview.svg
--
2.47.2
More information about the dev
mailing list