diff options
Diffstat (limited to 'trafgen_lexer.l')
-rw-r--r-- | trafgen_lexer.l | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/trafgen_lexer.l b/trafgen_lexer.l index 324a171..025fbfe 100644 --- a/trafgen_lexer.l +++ b/trafgen_lexer.l @@ -118,8 +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 */ + /* PFC/IEEE 802.3X PAUSE */ "time" { return K_TIME; } +"pri"|"prio" { return K_PRIO; } /* VLAN (802.1Q & 802.1ad) */ "tpid" { return K_TPID; } @@ -196,6 +197,7 @@ ip6_addr (({a_hex}?:)?({a_hex}?:)?({a_hex}?:)?({a_hex}?:)?({a_hex}?:)?({a_hex}?: "eth" { return K_ETH; } "pause" { return K_PAUSE; } +"pfc" { return K_PFC; } "vlan" { return K_VLAN; } "mpls" { return K_MPLS; } "arp" { return K_ARP; } |