[lkml]   [2003]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Why size of sockaddr smaller than size of sockaddr_in6?

In article <> (at Fri, 7 Nov 2003 10:04:05 +0800), "Zheng, Jeff" <> says:

> I thought that sockaddr should hold sockaddr_in sockaddr_in6 and any other socket address (or at least sockaddr_in6).

No, we do not change sockaddr{}.
use sockaddr_storage{} for that purpose.
Please read RFC 3493.
Hideaki YOSHIFUJI @ USAGI Project <>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:58    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean