- flow_extract(packet, 0, 1, &flow);
- flow_to_match(&flow, 0, false, &extracted_match);
+ flow_extract(packet, NULL, &flow);
+ flow.in_port.ofp_port = u16_to_ofp(1);
+
+ match_wc_init(&match, &flow);
+ ofputil_match_to_ofp10_match(&match, &extracted_match);