[ovs-discuss] how to get the socket descriptor

vis reddy badveli_vishnuus at yahoo.com
Thu Feb 13 23:28:35 UTC 2014


Hello All
I am porting the openvswitch as a library in a new process on a new hardware  and had written  netdev and ofproto providers that suits my hardware,  i have my own select call on various file descriptor that are used to talk to different process in my hardware, problem is i am not able to get the file descriptor that openvswitch uses to communicate to the controller, went through the stream classes and not able to see any methods that will give the file descriptor that had been assigned for the socket, could you please mail if there is any method to get the file descriptor of the socket . I have  access to  connmgr and do not want to change  openvswitch code to have an extern for the file descriptor at the place where the socket is created.
Thanks
Vishnu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140213/0656740a/attachment.html>


More information about the discuss mailing list