X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fofp-util.h;h=dfd47be6d6dc7a2f06f7ecbc7301120dd2ecdb72;hb=3bffc610fa3ae08fa837f6bd0bf7a2deebdd0970;hp=adad087d8c3bf21ae3bd08522cbf22f7cd75a732;hpb=774101397b17d90988046fc568d3f5f5520fbd67;p=sliver-openvswitch.git diff --git a/lib/ofp-util.h b/lib/ofp-util.h index adad087d8..dfd47be6d 100644 --- a/lib/ofp-util.h +++ b/lib/ofp-util.h @@ -301,7 +301,9 @@ enum ofputil_action_code { OFPUTIL_NXAST_NOTE, OFPUTIL_NXAST_SET_TUNNEL64, OFPUTIL_NXAST_MULTIPATH, - OFPUTIL_NXAST_AUTOPATH + OFPUTIL_NXAST_AUTOPATH, + OFPUTIL_NXAST_BUNDLE, + OFPUTIL_NXAST_BUNDLE_LOAD, }; int ofputil_decode_action(const union ofp_action *); @@ -313,7 +315,8 @@ enum ofputil_action_code ofputil_decode_action_unsafe( static inline union ofp_action * ofputil_action_next(const union ofp_action *a) { - return (void *) ((uint8_t *) a + ntohs(a->header.len)); + return ((union ofp_action *) (void *) + ((uint8_t *) a + ntohs(a->header.len))); } static inline bool