I'm working on a new action that will allow a controller to do more advanced learning than is currently possible with OFPP_NORMAL. This series is a set of cleanups that I made along the way.
Ben Pfaff (5): packets: Add more utility functions for IPv4 and IPv6 addresses. ofp-util: New functions for parsing and formatting OpenFlow port numbers. ofp-util: Further abstract definitions of action properties. ofp-parse: Refactor action parsing to improve compiler warnings. ofp-util: Add type-safe functions for serializing actions. lib/automake.mk | 1 + lib/autopath.c | 6 +- lib/bundle.c | 7 +- lib/classifier.c | 22 +--- lib/multipath.c | 6 +- lib/nx-match.c | 10 +- lib/ofp-parse.c | 384 ++++++++++++++++++++++++++---------------------------- lib/ofp-print.c | 57 ++------- lib/ofp-util.c | 213 ++++++++++++++++++++++-------- lib/ofp-util.def | 37 +++++ lib/ofp-util.h | 104 +++++++++++---- lib/packets.c | 65 +++++++++- lib/packets.h | 4 + 13 files changed, 540 insertions(+), 376 deletions(-) create mode 100644 lib/ofp-util.def -- 1.7.4.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev