[ipv6] Rename sin_{family,port} to sin6_{family,port} in struct sockaddr_in6

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2013-08-06 15:55:23 +01:00
parent e972057381
commit 0350682865
3 changed files with 5 additions and 5 deletions

View File

@@ -82,9 +82,9 @@ struct sockaddr_in6 {
*
* Always set to @c AF_INET6 for IPv6 addresses
*/
sa_family_t sin_family;
sa_family_t sin6_family;
/** TCP/IP port (part of struct @c sockaddr_tcpip) */
uint16_t sin_port;
uint16_t sin6_port;
uint32_t sin6_flowinfo; /* Flow number */
struct in6_addr sin6_addr; /* 128-bit destination address */
uint32_t sin6_scope_id; /* Scope ID */