I'm currently doing some work that requires parsing actions in more
generic ways than the existing Open vSwitch helpers support well.
This series improves on the helpers to make that work cleaner and
easier to understand. I think that they make sense by themselves,
since they remove many lines of code from modules that are too big,
so I'm sending them out on their own before the followup work is
ready.
Ben Pfaff (5):
classifier: Print ARP opcode as "arp_op" instead of "opcode".
ofp-util: Rename OFPUTIL_INVALID to OFPUTIL_MSG_INVALID.
ofp-util: Simplify iteration through OpenFlow actions.
ofp-util: Centralize decoding of OpenFlow actions.
ofp-util: New function for executing simple flow-modification
actions.
lib/classifier.c | 2 +-
lib/learning-switch.c | 2 +-
lib/ofp-print.c | 391 +++++++++++++--------------------------
lib/ofp-print.h | 6 +-
lib/ofp-util.c | 487 +++++++++++++++++++++++++++---------------------
lib/ofp-util.h | 74 +++++++-
ofproto/ofproto-dpif.c | 164 +++++------------
ofproto/ofproto.c | 12 +-
tests/ofp-print.at | 20 +-
utilities/ovs-ofctl.c | 3 +-
10 files changed, 531 insertions(+), 630 deletions(-)
--
1.7.4.4
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev