Harald Welte ebe0bbf06c [NETFILTER] nfnetlink: use highest bit of nfa_type to indicate nested TLV
As Henrik Nordstrom pointed out, all our efforts with "split endian" (i.e.
host byte order tags, net byte order values) are useless, unless a parser
can determine whether an attribute is nested or not.

This patch steals the highest bit of nfattr.nfa_type to indicate whether
the data payload contains a nested nfattr (1) or not (0).

This will break userspace compatibility, but luckily no kernel with
nfnetlink was released so far.

Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-10-10 20:52:19 -07:00
..
2005-09-19 15:41:28 -07:00
2005-09-27 16:11:29 -07:00
2005-10-05 12:16:04 -07:00
2005-08-29 16:01:32 -07:00
2005-08-29 15:31:14 -07:00
2005-10-05 12:16:04 -07:00
2005-10-03 13:57:23 -07:00
2005-09-27 15:45:15 -07:00
2005-08-29 16:01:32 -07:00
2005-09-08 08:14:11 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00