[PATCH v2 0/4] pcapng: comment handling and tests

Stephen Hemminger stephen at networkplumber.org
Wed Nov 12 19:12:46 CET 2025


Set of changes related to pcapng. First eliminate VLA then improve
handling of comment strings in packets.

v2 - chain mbuf if needed for longer comment
   - add more tests

Stephen Hemminger (4):
  pcapng: use alloca instead of fixed buffer
  pcapng: add additional mbuf if space required on copy
  test: add more tests for comments in pcapng
  test: vary size of packets in pcapng test

 app/test/test_pcapng.c  | 116 +++++++++++++++++++++++++++++-----------
 lib/pcapng/rte_pcapng.c |  38 ++++++++-----
 2 files changed, 111 insertions(+), 43 deletions(-)

-- 
2.51.0



More information about the dev mailing list