ofp-prop: Add support for putting and parsing nested properties.
authorBen Pfaff <blp@ovn.org>
Fri, 19 Feb 2016 23:56:52 +0000 (15:56 -0800)
committerBen Pfaff <blp@ovn.org>
Sat, 20 Feb 2016 00:15:45 +0000 (16:15 -0800)
commit5d10476a12dd3df756e15c9bcae0061bef787379
tree374b885b1a088dc9cf106cbec7dd53e1aef5de55
parentbdcad671e088d454a807072d07b8314f9860fdbc
ofp-prop: Add support for putting and parsing nested properties.

It hadn't occurred to me before that any special support was actually
necessary or useful for nested properties, but the functions introduced in
this commit are nice wrappers to deal with the extra 4-byte padding that
ensures that the nested properties begin on 8-byte boundaries just like
the outer properties.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Jarno Rajahalme <jarno@ovn.org>
lib/ofp-prop.c
lib/ofp-prop.h