summaryrefslogtreecommitdiff
path: root/trafgen_lexer.l
diff options
context:
space:
mode:
Diffstat (limited to 'trafgen_lexer.l')
-rw-r--r--trafgen_lexer.l4
1 files changed, 4 insertions, 0 deletions
diff --git a/trafgen_lexer.l b/trafgen_lexer.l
index 5873eec..324a171 100644
--- a/trafgen_lexer.l
+++ b/trafgen_lexer.l
@@ -118,6 +118,9 @@ ip6_addr (({a_hex}?:)?({a_hex}?:)?({a_hex}?:)?({a_hex}?:)?({a_hex}?:)?({a_hex}?:
"etype" { return K_ETYPE; }
"type" { return K_TYPE; }
+ /* IEEE 802.3X PAUSE */
+"time" { return K_TIME; }
+
/* VLAN (802.1Q & 802.1ad) */
"tpid" { return K_TPID; }
"tci" { return K_TCI; }
@@ -192,6 +195,7 @@ ip6_addr (({a_hex}?:)?({a_hex}?:)?({a_hex}?:)?({a_hex}?:)?({a_hex}?:)?({a_hex}?:
"urgptr" { return K_URG_PTR; }
"eth" { return K_ETH; }
+"pause" { return K_PAUSE; }
"vlan" { return K_VLAN; }
"mpls" { return K_MPLS; }
"arp" { return K_ARP; }