On Tue, Nov 24, 2015 at 02:30:13PM +0100, Alvaro Morales Vicente wrote: > I can get all the fields, except for the actions, with the po variable > (struct ofputil_packet_out) like po.packet_len, po.in_port… I have also > tried with ofpacts variable (struct ofpbuf) which creates a buffer to store > the actions list (without success). To sum up, what I need is to get the > output port as an integer or as a char.
You can iterate through the actions with OFPACT_FOR_EACH and check for an OFPACT_OUTPUT action. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev