summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2017-02-27 23:42:03 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2017-02-28 00:55:29 +0100
commite6ca6739cc136d05ec3d13dbf82cdee247bee1d9 (patch)
tree4bd5dffe68b5386569999a9297b63e8f8fbf5c4d /include
parentfb2d2de9fecf169ce23add590eb9a64b80a889a9 (diff)
src: store byteorder for set data
Add new UDATA_SET_DATABYTEORDER attribute for NFTA_SET_UDATA to store the datatype byteorder. This is required if integer_type is used on the rhs of the mapping given that this datatype comes with no specific byteorder. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/rule.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rule.h b/include/rule.h
index f5160daf..ed12774d 100644
--- a/include/rule.h
+++ b/include/rule.h
@@ -479,6 +479,7 @@ enum udata_type {
enum udata_set_type {
UDATA_SET_KEYBYTEORDER,
+ UDATA_SET_DATABYTEORDER,
__UDATA_SET_MAX,
};
#define UDATA_SET_MAX (__UDATA_SET_MAX - 1)