aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/interface.h
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2020-08-05 16:12:35 -0400
committerFlorin Coras <florin.coras@gmail.com>2020-08-05 22:08:42 +0000
commit586462fabcc913a5a4fa9115d4b5caf33dfdb347 (patch)
tree60bc0ce674f8ffbf61b74deabc6620fbd6c2ef7c /src/vnet/interface.h
parent0edfb1a06ed093c5ed82be34b42b8cacc3ac0ff8 (diff)
interface: add pcap trace data preallocation
Type: improvement Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: I2e53fa85a0b4082666f57a3a58a09c04ae2001b5
Diffstat (limited to 'src/vnet/interface.h')
-rw-r--r--src/vnet/interface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/interface.h b/src/vnet/interface.h
index 5f4fd065756..f9081442338 100644
--- a/src/vnet/interface.h
+++ b/src/vnet/interface.h
@@ -924,6 +924,8 @@ typedef struct
u8 rx_enable;
u8 tx_enable;
u8 drop_enable;
+ u8 preallocate_data;
+ u8 free_data;
u32 sw_if_index;
int filter;
} vnet_pcap_dispatch_trace_args_t;