Re: [nft PATCH 3/7] evaluate: add support to set IPv6 non-byte header fields

2016-08-01 Thread Florian Westphal
Pablo Neira Ayuso wrote: > On Wed, Jul 27, 2016 at 02:43:12AM +0200, Florian Westphal wrote: > > 'ip6 ecn set 1' will generate a zero-sized write operation. > > Just like when matching on bit-sized header fields we need to > > round up to a byte-sized quantity and add a mask

Re: [nft PATCH 3/7] evaluate: add support to set IPv6 non-byte header fields

2016-08-01 Thread Pablo Neira Ayuso
On Wed, Jul 27, 2016 at 02:43:12AM +0200, Florian Westphal wrote: > 'ip6 ecn set 1' will generate a zero-sized write operation. > Just like when matching on bit-sized header fields we need to > round up to a byte-sized quantity and add a mask to retain those > bits outside of the header bits that