]> git.ipfire.org Git - thirdparty/nftables.git/commit
src: store byteorder for set data
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 27 Feb 2017 22:42:03 +0000 (23:42 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 27 Feb 2017 23:55:29 +0000 (00:55 +0100)
commite6ca6739cc136d05ec3d13dbf82cdee247bee1d9
tree4bd5dffe68b5386569999a9297b63e8f8fbf5c4d
parentfb2d2de9fecf169ce23add590eb9a64b80a889a9
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>
include/rule.h
src/evaluate.c
src/netlink.c
src/rule.c