2
0
mirror of https://github.com/openvswitch/ovs synced 2025-09-05 00:35:33 +00:00

Support userdata in NXT_PACKET_IN2.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Jarno Rajahalme <jarno@ovn.org>
This commit is contained in:
Ben Pfaff
2016-02-19 15:53:26 -08:00
parent 4adaf1828a
commit bdcad671e0
14 changed files with 238 additions and 34 deletions

View File

@@ -441,6 +441,10 @@ struct ofputil_packet_in {
* that case, 'cookie' is UINT64_MAX. */
uint8_t table_id; /* OpenFlow table ID. */
ovs_be64 cookie; /* Flow's cookie. */
/* Arbitrary user-provided data. */
uint8_t *userdata;
size_t userdata_len;
};
struct ofpbuf *ofputil_encode_packet_in(const struct ofputil_packet_in *,