netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH nft 0/4] src: changes related to numgen and hash expressions
@ 2016-10-22 21:33 Laura Garcia Liebana
  2016-10-22 21:34 ` [PATCH nft 1/4] src: make hash seed attribute optional Laura Garcia Liebana
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Laura Garcia Liebana @ 2016-10-22 21:33 UTC (permalink / raw)
  To: netfilter-devel

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-10-27 17:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-22 21:33 [PATCH nft 0/4] src: changes related to numgen and hash expressions Laura Garcia Liebana
2016-10-22 21:34 ` [PATCH nft 1/4] src: make hash seed attribute optional Laura Garcia Liebana
2016-10-27 17:07   ` Pablo Neira Ayuso
2016-10-27 17:13     ` Pablo Neira Ayuso
2016-10-22 21:35 ` [PATCH nft 2/4] src: add offset attribute for hash expression Laura Garcia Liebana
2016-10-27 17:19   ` Pablo Neira Ayuso
2016-10-22 21:36 ` [PATCH nft 3/4] src: add offset attribute for numgen expression Laura Garcia Liebana
2016-10-27 16:57   ` Pablo Neira Ayuso
2016-10-22 21:36 ` [PATCH nft 4/4] netlink: fix linearize numgen type Laura Garcia Liebana
2016-10-27 16:58   ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).