summaryrefslogtreecommitdiffstats
path: root/include/datatype.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2021-11-02 14:07:04 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2021-11-03 12:48:19 +0100
commit6ad2058da66affc105d325e45ff82fd5b5cac41e (patch)
tree75818a002b868664c01ebaf39ae4a3370643c727 /include/datatype.h
parent8f3048954d40da8240cf5ff07b84d5c2e66f9066 (diff)
datatype: add xinteger_type alias to print in hexadecimal
Add an alias of the integer type to print raw payload expressions in hexadecimal. Update tests/py. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/datatype.h')
-rw-r--r--include/datatype.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/datatype.h b/include/datatype.h
index 7ddd3566..f5bb9dc4 100644
--- a/include/datatype.h
+++ b/include/datatype.h
@@ -254,6 +254,7 @@ extern const struct datatype verdict_type;
extern const struct datatype nfproto_type;
extern const struct datatype bitmask_type;
extern const struct datatype integer_type;
+extern const struct datatype xinteger_type;
extern const struct datatype string_type;
extern const struct datatype lladdr_type;
extern const struct datatype ipaddr_type;