[PATCH v2 nft 0/2] payload mangling support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following patches add support for payload mangling to nft.

Changes since v1:

* set checksum type
* generate protocol dependencies for payload expression in statement
  (f.i. ether saddr set 00:00:00:00:00:00 => meta iiftype ether)


Patrick McHardy (2):
  proto: add checksum key information to struct proto_desc
  payload: add payload statement

 include/linux/netfilter/nf_tables.h | 17 ++++++++++++++
 include/proto.h                     |  2 ++
 include/statement.h                 | 11 +++++++++
 src/evaluate.c                      | 25 ++++++++++++++++++--
 src/netlink_delinearize.c           | 46 ++++++++++++++++++++++++++++++++++---
 src/netlink_linearize.c             | 40 ++++++++++++++++++++++++++++++++
 src/parser_bison.y                  |  9 ++++++++
 src/payload.c                       | 24 +++++++++++++++++++
 src/proto.c                         |  5 ++++
 9 files changed, 174 insertions(+), 5 deletions(-)

-- 
2.5.0

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



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux