[OpenAFS-devel] Announcement: Significant changes to Rx internals

Russ Allbery rra@stanford.edu
Tue, 09 May 2006 11:27:29 -0700


John Hascall <john@iastate.edu> writes:

> I haven't studied your code, so perhaps that would make it clear, but
> what are the purpose of your saddrlen and socktype?  How are they
> different from the ss_len and ss_family fields of the sockaddr_storage
> struct?

ss_len is not portable and doesn't exist on many platforms (Linux, for
instance).  It (and the corresponding sa_len) are BSDisms.

ss_family should always be available, though; it sort of has to be.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>