#include <config.h>
+#include "bundles.h"
#include "coverage.h"
#include "fail-open.h"
#include "in-band.h"
#include "odp-util.h"
-#include "ofp-actions.h"
-#include "ofp-msgs.h"
-#include "ofp-util.h"
-#include "ofpbuf.h"
#include "ofproto-provider.h"
+#include "openvswitch/ofp-actions.h"
+#include "openvswitch/ofp-msgs.h"
+#include "openvswitch/ofp-util.h"
+#include "openvswitch/ofpbuf.h"
+#include "openvswitch/vconn.h"
+#include "openvswitch/vlog.h"
#include "pinsched.h"
#include "poll-loop.h"
#include "pktbuf.h"
#include "simap.h"
#include "stream.h"
#include "timeval.h"
-#include "openvswitch/vconn.h"
-#include "openvswitch/vlog.h"
-
-#include "bundles.h"
VLOG_DEFINE_THIS_MODULE(bundles);
bundle->flags = flags;
bundle->state = BS_OPEN;
- list_init(&bundle->msg_list);
+ ovs_list_init(&bundle->msg_list);
return bundle;
}
LIST_FOR_EACH_POP (msg, node, &bundle->msg_list) {
if (success && msg->type == OFPTYPE_FLOW_MOD) {
/* Tell connmgr about successful flow mods. */
- ofconn_report_flow_mod(ofconn, msg->fm.command);
+ ofconn_report_flow_mod(ofconn, msg->ofm.fm.command);
}
ofp_bundle_entry_free(msg);
}
return OFPERR_OFPBFC_BAD_FLAGS;
}
- list_push_back(&bundle->msg_list, &bmsg->node);
+ ovs_list_push_back(&bundle->msg_list, &bmsg->node);
return 0;
}