On Tue, 10 Jan 2023 17:28:45 +0530
Amit Prakash Shukla wrote:
> @@ -548,6 +552,11 @@ rte_pcapng_copy(uint16_t port_id, uint32_t queue,
> &hash_opt, sizeof(hash_opt));
> }
>
> + if (comment) {
> + opt = pcapng_add_option(opt, PCAPNG_OPT
This change enhances rte_pcapng_copy to have comment in enhanced
packet block.
Signed-off-by: Amit Prakash Shukla
---
app/test/test_pcapng.c | 4 ++--
lib/pcapng/rte_pcapng.c | 11 ++-
lib/pcapng/rte_pcapng.h | 4 +++-
lib/pdump/rte_pdump.c | 2 +-
4 files changed, 16 insertions(+)
2 matches
Mail list logo