Network api documentation.

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Aug 22 02:35:33 MDT 2013


On Thu, Aug 22, 2013 at 01:59:16PM +0800, Marcelo Araujo wrote:
> Is there any documentation about how samba deal with the physical network
> interface? How smbd choose the correct interface to establish the session
> and transfer/receive the data? Also I'd like to understand how could be
> possible to make samba get advantage of network interfaces with support of
> RSS[1].
> 
> Looking the source, the only file that I saw till now with something
> related with physical interface is:
> samba4/source3/lib/util_sock.c

You might want to take a look at lib/socket/interfaces.c as
well. This is all spread out a bit, but for incoming
connections we basically "just" do an accept(). That's it.

Can you describe in higher-level words what behaviour you
want Samba to exhibit?

> My intention is start to study how to implement multi channel on smb3.

I think Multi-Channel is a large topic that will require
quite some architectural changes. I would think that
choosing a proper interface is the smallest of these.
Do you have a more detailed design in mind?

Thanks,

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list