[ovs-discuss] Flow from string

Igor Ryzhov idryzhov at gmail.com
Mon Apr 22 14:27:23 UTC 2013


I need to get *struct flow* from a string.
I have not found desired function, but I found two functions:
*odp_flow_key_from_string *and *odp_flow_key_to_flow *from odp-util.c

I tried to use them in succession, but it doesn't work.

The input string is
"ipv4(src=,dst=,proto=1,tos=0,ttl=64,frag=no)", and
after using this functions I got the same uninitialized *struct flow *as

P.S. I use Open vSwitch 1.5.0

Could you help me to find desired function? Maybe it was developed in later

Best regards,
Igor Ryzhov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130422/1d022aac/attachment.html>

More information about the discuss mailing list