netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/10] nftables: set timeouts and dynamic updates
@ 2015-04-12 12:16 Patrick McHardy
  2015-04-12 12:16 ` [PATCH 01/10] datatype: fix parsing of time type Patrick McHardy
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Patrick McHardy @ 2015-04-12 12:16 UTC (permalink / raw)
  To: pablo; +Cc: netfilter-devel

The following patches contain support for the new features that have
already been merged to net-next, namely

* set and set element timeouts
* set element comments
* dynamic set updates

The first patch fixes parsing of the time time, the second one relaxes
time parsing. The third and fourth patches add support for time
specification as parameters to the grammar.

The fifth patch fixes inconsistencies in the set greammar, the six
patch adds a generic set element that will be used to attach element
attributes to expressions.

Finally, the seventh patch adds support for set timeouts, the eighth
patch for set element timeouts, the ninth for set element comments.
The last patch adds support for the "set" statement for dynamic set
updates.

I'll give them some more testing and will then push them to a -next
branch in the nftables tree.

Comments, especially regarding the syntax, are welcome.


Patrick McHardy (10):
  datatype: fix parsing of time type
  datatype: less strict time parsing
  datatype: seperate time parsing/printing from time_type
  parser: add a time_spec rule
  parser: fix inconsistencies in set expression rules
  expr: add set_elem_expr as container for set element attributes
  set: add timeout support for sets
  setelem: add timeout support for set elements
  setelem: add support for attaching comments to set elements
  nftables: add set statement

 include/datatype.h                  |   4 ++
 include/expression.h                |  11 ++++
 include/linux/netfilter/nf_tables.h |  39 ++++++++++++++
 include/rule.h                      |   5 ++
 include/statement.h                 |  11 ++++
 src/datatype.c                      |  82 ++++++++++++++--------------
 src/evaluate.c                      |  47 +++++++++++++++-
 src/expression.c                    |  42 +++++++++++++++
 src/netlink.c                       |  83 +++++++++++++++++++---------
 src/netlink_delinearize.c           |  41 ++++++++++++++
 src/netlink_linearize.c             |  26 +++++++++
 src/parser_bison.y                  | 105 +++++++++++++++++++++++++++++++-----
 src/rule.c                          |  23 +++++++-
 src/scanner.l                       |  10 ++++
 src/segtree.c                       |   8 ++-
 src/statement.c                     |  31 +++++++++++
 16 files changed, 486 insertions(+), 82 deletions(-)

-- 
2.1.0


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

end of thread, other threads:[~2015-04-12 12:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-12 12:16 [PATCH 00/10] nftables: set timeouts and dynamic updates Patrick McHardy
2015-04-12 12:16 ` [PATCH 01/10] datatype: fix parsing of time type Patrick McHardy
2015-04-12 12:16 ` [PATCH 02/10] datatype: less strict time parsing Patrick McHardy
2015-04-12 12:16 ` [PATCH 03/10] datatype: seperate time parsing/printing from time_type Patrick McHardy
2015-04-12 12:16 ` [PATCH 04/10] parser: add a time_spec rule Patrick McHardy
2015-04-12 12:16 ` [PATCH 05/10] parser: fix inconsistencies in set expression rules Patrick McHardy
2015-04-12 12:16 ` [PATCH 06/10] expr: add set_elem_expr as container for set element attributes Patrick McHardy
2015-04-12 12:16 ` [PATCH 07/10] set: add timeout support for sets Patrick McHardy
2015-04-12 12:16 ` [PATCH 08/10] setelem: add timeout support for set elements Patrick McHardy
2015-04-12 12:16 ` [PATCH 09/10] setelem: add support for attaching comments to " Patrick McHardy
2015-04-12 12:16 ` [PATCH 10/10] nftables: add set statement Patrick McHardy

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).