summaryrefslogtreecommitdiff
path: root/trafgen_proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'trafgen_proto.h')
-rw-r--r--trafgen_proto.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/trafgen_proto.h b/trafgen_proto.h
index d2fde62..f25078a 100644
--- a/trafgen_proto.h
+++ b/trafgen_proto.h
@@ -5,10 +5,6 @@
#include <stdint.h>
#include <stdbool.h>
-struct proto_ctx {
- const char *dev;
-};
-
enum proto_id {
PROTO_NONE,
PROTO_ETH,
@@ -50,7 +46,6 @@ struct proto_hdr {
enum proto_layer layer;
struct proto_hdr *next;
- struct proto_ctx *ctx;
uint16_t pkt_offset;
uint32_t pkt_id;
struct proto_field *fields;