summaryrefslogtreecommitdiff
path: root/trafgen_proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'trafgen_proto.h')
-rw-r--r--trafgen_proto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/trafgen_proto.h b/trafgen_proto.h
index f25078a..a66f8d3 100644
--- a/trafgen_proto.h
+++ b/trafgen_proto.h
@@ -6,7 +6,7 @@
#include <stdbool.h>
enum proto_id {
- PROTO_NONE,
+ PROTO_NONE = 0,
PROTO_ETH,
PROTO_VLAN,
PROTO_ARP,
@@ -17,6 +17,7 @@ enum proto_id {
PROTO_ICMP6,
PROTO_UDP,
PROTO_TCP,
+ __PROTO_MAX,
};
enum proto_layer {