This patchset provides several improvements for numgen and hash expressions: - support of OFFSET attribute for numgen and hash expressions - makes SEED attribute optional and randomly generated - fix the TYPE attribute to be treated as a register Laura Garcia Liebana (4): src: make hash seed attribute optional src: add offset attribute for hash expression src: add offset attribute for numgen expression netlink: fix linearize numgen type configure.ac | 14 +++++++++++++- include/expression.h | 2 ++ include/hash.h | 13 ++++++++++++- include/linux/netfilter/nf_tables.h | 4 ++++ include/numgen.h | 3 ++- src/hash.c | 9 +++++++-- src/netlink_delinearize.c | 10 ++++++---- src/netlink_linearize.c | 4 +++- src/numgen.c | 10 ++++++++-- src/parser_bison.y | 20 +++++++++++++++----- src/scanner.l | 1 + tests/py/ip/hash.t | 4 ++++ tests/py/ip/numgen.t | 1 + 13 files changed, 78 insertions(+), 17 deletions(-) -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html