[ovs-discuss] Flow from string

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


Hello.

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=10.0.124.4,dst=10.0.124.1,proto=1,tos=0,ttl=64,frag=no)", and
after using this functions I got the same uninitialized *struct flow *as
before.

P.S. I use Open vSwitch 1.5.0

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

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