]> git.ipfire.org Git - thirdparty/nftables.git/commit
datatype: add new subtypes field to account number of concat data types
authorPatrick McHardy <kaber@trash.net>
Sat, 13 Dec 2014 07:50:34 +0000 (07:50 +0000)
committerPatrick McHardy <kaber@trash.net>
Tue, 16 Dec 2014 17:20:54 +0000 (18:20 +0100)
commit0b915d6dc50e9e5aeb3e41db9d20dc96d9edee3f
tree01279cb6d61e81e916017e2406afa82ddf9f002a
parentcde2b8bac620caf3858ccab16e82005b3ef27bee
datatype: add new subtypes field to account number of concat data types

Using the size is confusing since it usually holds the size of
the data. Add a new "subtypes" member, which holds the number
of datatypes the concat type is made of.

Signed-off-by: Patrick McHardy <kaber@trash.net>
include/datatype.h
src/datatype.c
src/evaluate.c