Re: [PATCH nft] src: osf: add ttl option support

2018-09-16 Thread Fernando Fernandez Mancera
I have not implemented tests and json support yet because I prefer to do it after the review of this patchset. Thanks! On 9/16/18 9:11 PM, Fernando Fernandez Mancera wrote: Add support for ttl option in "osf" expression. Example: table ip foo { chain bar { type filter

[PATCH nft] src: osf: add ttl option support

2018-09-16 Thread Fernando Fernandez Mancera
Add support for ttl option in "osf" expression. Example: table ip foo { chain bar { type filter hook input priority filter; policy accept; osf ttl 0 name "Linux" } } Signed-off-by: Fernando Fernandez Mancera --- include/expression.h

[PATCH nf-next] nft_osf: Add ttl option support

2018-09-16 Thread Fernando Fernandez Mancera
Add ttl option support to the nftables "osf" expression. Signed-off-by: Fernando Fernandez Mancera --- include/linux/netfilter/nfnetlink_osf.h | 3 ++- include/uapi/linux/netfilter/nf_tables.h | 7 +++ include/uapi/linux/netfilter/nfnetlink_osf.h | 1 +