[PATCH nft 00/11] complete typeof support

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

 



Hi Florian,

This completes your patchset adding typeof support for the remaining
primary expression.

Feel free to apply and push this out on top of your patchset.

P.S: testcases/maps/typeof_maps_0 fails:

/dev/stdin:14:28-30: Error: datatype mismatch, map expects string,
mapping expression has type IPv4 address
                ct mark set ip daddr map @m1
                            ~~~~~~~~     ^^^

There is a typo in the map definition:

/dev/stdin:14:28-30: Error: datatype mismatch, map expects string,
mapping expression has type IPv4 address
                ct mark set ip daddr map @m1
                            ~~~~~~~~     ^^^

This should be

                ct mark set osf name map @m1

dump file also needs an adjustment, you can fix this before pushing
this out.

Thanks!

P.S: I might follow up at some point to expose this userdata
attributes through libnftnl, later. Meanwhile, I have just pushed
out the libnftnl nesting dependencies.

Pablo Neira Ayuso (11):
  meta: add parse and build userdata interface
  exthdr: add exthdr_desc_id enum and use it
  exthdr: add parse and build userdata interface
  socket: add parse and build userdata interface
  osf: add parse and build userdata interface
  ct: add parse and build userdata interface
  numgen: add parse and build userdata interface
  hash: add parse and build userdata interface
  rt: add parse and build userdata interface
  fib: add parse and build userdata interface
  xfrm: add parse and build userdata interface

 include/exthdr.h |  15 ++++++++
 src/ct.c         |  56 ++++++++++++++++++++++++++++++
 src/expression.c |  13 +++++--
 src/exthdr.c     | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/fib.c        |  60 ++++++++++++++++++++++++++++++--
 src/hash.c       |  72 +++++++++++++++++++++++++++++++++++++++
 src/meta.c       |  51 ++++++++++++++++++++++++++++
 src/numgen.c     |  62 +++++++++++++++++++++++++++++++++
 src/osf.c        |  13 +++++++
 src/rt.c         |  51 ++++++++++++++++++++++++++++
 src/socket.c     |  51 ++++++++++++++++++++++++++++
 src/xfrm.c       |  61 +++++++++++++++++++++++++++++++++
 12 files changed, 603 insertions(+), 4 deletions(-)

-- 
2.11.0




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux