On 13 April 2016 at 00:04, Amrane Ait Zeouay <a.zeouayam...@gmail.com> wrote: > Hi, > I want to add a field to the struct flow, and i checked the FAQ 'How do I > add support for a new field or header?' but i didn't understand it, what i > want to do is add a field in the flow and then when it will be parsed it > will call an external function, the field is not in the packet it's just in > the flow table. > Thank you. > Best regards
Hi, There are plenty of examples of fields like this already in struct flow, for instance the OpenFlow metadata and registers. They don't exist in the packet, but adding them to 'struct flow' allows you to program the flow table to match on different values of the field and perform the behaviour that you want. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev