summaryrefslogtreecommitdiff
path: root/trafgen_proto.h
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2016-09-22 23:55:33 +0300
committerTobias Klauser <tklauser@distanz.ch>2016-10-04 17:17:24 +0200
commitf4c1856026c0edcc1e2285cf6ae773057bee51cd (patch)
treebaf5663ef7daf90b5f1cdd4c3e9f31868034238d /trafgen_proto.h
parent7007975949f5177fbf2514633cc44ba0ac4712c5 (diff)
trafgen: l2: Add support for IEEE 802.3X PAUSE header
Add EEE802.3X Ethernet MAC Control PAUSE frame proto header with two fields - opcode & time. By default Ethernet header is pushed on header init. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'trafgen_proto.h')
-rw-r--r--trafgen_proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/trafgen_proto.h b/trafgen_proto.h
index a8b97eb..a1f6b66 100644
--- a/trafgen_proto.h
+++ b/trafgen_proto.h
@@ -8,6 +8,7 @@
enum proto_id {
PROTO_NONE = 0,
PROTO_ETH,
+ PROTO_PAUSE,
PROTO_VLAN,
PROTO_ARP,
PROTO_MPLS,