[ovs-dev] Stream Library in OVS

Shravan Ambati Shravan.Ambati at calix.com
Fri Jun 17 18:35:35 UTC 2016


Thanks Cascardo! 

-----Original Message-----
From: Thadeu Lima de Souza Cascardo [mailto:cascardo at redhat.com] 
Sent: Friday, June 17, 2016 11:33 AM
To: Shravan Ambati <Shravan.Ambati at calix.com>
Cc: dev at openvswitch.org
Subject: Re: [ovs-dev] Stream Library in OVS

On Fri, Jun 17, 2016 at 06:20:07PM +0000, Shravan Ambati wrote:
> Hello
> 
> I was browsing through the code in stream-unix.c and found that the unix_stream_class does not register any methods except unix_open. Similar behavior for punix_stream_class.
> 
> I was wondering then how is data being sent between unix stream sockets in OVS if there is not corresponding send/receive for these classes?
> 

They call into new_fd_stream which calls stream_init with stream_fd_class, which has the recv/send hooks.

Cascardo.

> Thanks
> Shravan
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev



More information about the dev mailing list