From 22c66b3af76c2bc2c720013ffa0100aae7c97cbe Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 28 Dec 2015 10:51:43 +0100 Subject: parser: add redirect constant to rhs_expr rule So we can use the 'redirect' reserve word as constant from the rhs expression. Thus, we can use it as icmp type. Signed-off-by: Pablo Neira Ayuso --- include/datatype.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/datatype.h') diff --git a/include/datatype.h b/include/datatype.h index 07fedce8..91ca2dd1 100644 --- a/include/datatype.h +++ b/include/datatype.h @@ -207,6 +207,7 @@ extern const struct datatype arphrd_type; extern const struct datatype inet_protocol_type; extern const struct datatype inet_service_type; extern const struct datatype mark_type; +extern const struct datatype icmp_type_type; extern const struct datatype icmp_code_type; extern const struct datatype icmpv6_code_type; extern const struct datatype icmpx_code_type; -- cgit v1.2.3