[ovs-discuss] How to send packets out from userspace?

Kevin p3613829 at 163.com
Tue May 23 07:42:58 UTC 2017


As we know when a packet come into the OVS for the first time, OVS will send a packetin message to the controller. Then the controller will reply flowmod message  through control channel to all switches on the forwarding path. 
In my project, for the purpose of saving the bandwidth of control channel, I make the controller send all flowmod information only to the ingress switch, and then the ingress switch send the flowmod along the forwarding path to the next switch. 
Now my problem is how can I send the flowmod out from the userspace? I've got the data of flowmod in the handle_flow_mod function(ofproto/ofproto.c). I know to communicate with the kernel I should use netlink, but it seems that netlink can only be used for changing the flow entry. Is there some way that I can send the flowmod out from the userspace? 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170523/b03e0644/attachment.html>


More information about the discuss mailing list