summaryrefslogtreecommitdiff
path: root/lib/ofp-prop.c
Commit message (Collapse)AuthorAgeFilesLines
* Move lib/ofp-prop.h to include/openvswitch directoryBen Warren2016-04-141-2/+1
| | | | | Signed-off-by: Ben Warren <ben@skyportsystems.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* Move lib/ofpbuf.h to include/openvswitch directoryBen Warren2016-03-301-1/+1
| | | | | | Signed-off-by: Ben Warren <ben@skyportsystems.com> Acked-by: Ryan Moats <rmoats@us.ibm.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* Move lib/ofp-errors.h to include/openvswitch directoryBen Warren2016-03-191-1/+1
| | | | | Signed-off-by: Ben Warren <ben@skyportsystems.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* ofp-prop: Add support for putting and parsing nested properties.Ben Pfaff2016-02-191-0/+49
| | | | | | | | | | | 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>
* ofp-prop: New function ofpprop_put_zeros().Ben Pfaff2016-01-201-0/+22
| | | | | | | This will have additional users in later commits. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Jarno Rajahalme <jarno@ovn.org>
* ofp-prop: Add helpers for u8, be64/u64, flag, and UUID properties.Ben Pfaff2016-01-201-7/+125
| | | | | | | | | These will have users in upcoming commits. Unlike the previously added helpers, there isn't any existing code that can immediately use them. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Jarno Rajahalme <jarno@ovn.org>
* ofp-prop: Add generic functions for working with 16- and 32-bit properties.Ben Pfaff2016-01-201-0/+116
| | | | | | | These will see increasing use in upcoming commits. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Jarno Rajahalme <jarno@ovn.org>
* ofp-prop: Add support for experimenter properties.Ben Pfaff2016-01-201-12/+89
| | | | | Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Jarno Rajahalme <jarno@ovn.org>
* ofp-prop: New module for working with OpenFlow 1.3+ properties.Ben Pfaff2016-01-201-0/+126
Several OpenFlow 1.3+ messages use TLV-based properties that take a common form. Until now, ofp-util has had some static functions for dealing with properties. Because properties will start to be needed outside of ofp-util, this commit breaks them out into a new library, renaming them to begin with ofpprop_. The following commit will add a few new interfaces that add new functionality. Signed-off-by: Ben Pfaff <blp@ovn.org>