Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Jul 2002 15:35:55 +0200
From:      Juan Francisco Rodriguez Hervella <jrh@it.uc3m.es>
To:        freebsd-net@freebsd.org
Subject:   About "sockaddr_in" and "sockaddr_in6" structures
Message-ID:  <3D2AE6BB.7CD0CEC7@it.uc3m.es>

next in thread | raw e-mail | index | archive | help
Hello:

I'm seeing that "struct sockaddr_in" has a field like this:

char sin_zero[8];

Why ?
Could anyone explain me what's used for ?

Could it be bad if I'd add the same field to
"sockaddr_in6" ?

PS: I'm trying to implement divert sockets for
IPv6 using the KAME implementation of "ip6fw".

Thanks.

JFRH.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D2AE6BB.7CD0CEC7>