summaryrefslogtreecommitdiff
path: root/trafgen_lexer.l
diff options
context:
space:
mode:
authorRadoslav Bodo <bodik@cesnet.cz>2018-06-19 21:57:37 +0200
committerTobias Klauser <tklauser@distanz.ch>2018-06-20 13:23:07 +0200
commit76bd307a8ce82d839037c7437c0d181890adde02 (patch)
tree86aac927b81d8a034f4ed535f5c4059282c2c77b /trafgen_lexer.l
parent50f8f250563c4f9e740f63b324e40a051230c68f (diff)
trafgen: support ICMPv6 checksums
Usage: csumicmp6(14, 54) Signed-off-by: Radoslav Bodo <bodik@cesnet.cz> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'trafgen_lexer.l')
-rw-r--r--trafgen_lexer.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/trafgen_lexer.l b/trafgen_lexer.l
index da072e1..a6d12c1 100644
--- a/trafgen_lexer.l
+++ b/trafgen_lexer.l
@@ -143,6 +143,7 @@ ip6_addr ({v680}|{v67}|{v66}|{v65}|{v64}|{v63}|{v62}|{v61}|{v60})
"csumtcp" { return K_CSUMTCP; }
"csumudp6" { return K_CSUMUDP6; }
"csumtcp6" { return K_CSUMTCP6; }
+"csumicmp6" { return K_CSUMICMP6; }
"drnd" { return K_DRND; }
"dinc" { return K_DINC; }
"ddec" { return K_DDEC; }