[0/4] pcapng fixes

Message ID 20230921042349.104150-1-stephen@networkplumber.org (mailing list archive)
Headers
Series pcapng fixes |

Message

Stephen Hemminger Sept. 21, 2023, 4:23 a.m. UTC
  There were a couple of reported bugs in dumpcap around
timestamps and multiple invocations. This patchset does
some refactoring to fix them in a simpler way.

Stephen Hemminger (4):
  pdump: fix setting rte_errno on mp error
  dumpcap: allow multiple invocations
  pcapng: change timestamp argument to write_stats
  pcapng: move timestamp calculation into pdump

 app/dumpcap/main.c      | 31 ++++++++--------
 app/test/test_pcapng.c  |  4 +--
 lib/pcapng/rte_pcapng.c | 79 ++++-------------------------------------
 lib/pcapng/rte_pcapng.h |  7 ++--
 lib/pdump/rte_pdump.c   | 61 +++++++++++++++++++++++++++----
 5 files changed, 83 insertions(+), 99 deletions(-)