NXCPT_COOKIE,
NXCPT_ACTIONS,
NXCPT_ACTION_SET,
+ NXCPT_ODP_PORT,
};
/* Only NXT_PACKET_IN2 (not NXT_RESUME) should include NXCPT_USERDATA, so this
ofpprop_end(msg, start);
}
+ if (pin->odp_port) {
+ ofpprop_put_u32(msg, NXCPT_ODP_PORT, odp_to_u32(pin->odp_port));
+ }
+
if (msg->size > inner_ofs) {
ofpprop_end(msg, continuation_ofs);
} else {
error = parse_actions_property(&payload, oh->version, &action_set);
break;
+ case NXCPT_ODP_PORT: {
+ uint32_t value;
+ error = ofpprop_parse_u32(&payload, &value);
+ pin->odp_port = u32_to_odp(value);
+ break;
+ }
+
default:
error = OFPPROP_UNKNOWN(loose, "continuation", type);
break;
ds_put_char(s, '\n');
}
+ if (pin->odp_port) {
+ ds_put_format(s, " continuation.odp_port=%"PRIu32, pin->odp_port);
+ ds_put_char(s, '\n');
+ }
+
if (verbosity > 0) {
char *packet = ofp_packet_to_string(
public->packet, public->packet_len,