iPXE
|
IPv6 socket address. More...
#include <in.h>
Data Fields | |
sa_family_t | sin6_family |
Socket address family (part of struct sockaddr ) More... | |
uint16_t | sin6_flags |
Flags (part of struct sockaddr_tcpip ) More... | |
uint16_t | sin6_port |
TCP/IP port (part of struct sockaddr_tcpip ) More... | |
uint16_t | sin6_scope_id |
Scope ID (part of struct sockaddr_tcpip ) More... | |
struct in6_addr | sin6_addr |
IPv6 address. More... | |
char | pad [sizeof(struct sockaddr) -(sizeof(sa_family_t)+sizeof(uint16_t)+sizeof(uint16_t)+sizeof(uint16_t)+sizeof(struct in6_addr))] |
Padding. More... | |
sa_family_t sockaddr_in6::sin6_family |
Socket address family (part of struct sockaddr
)
Always set to AF_INET6
for IPv6 addresses
Definition at line 122 of file in.h.
Referenced by dns_xfer_deliver(), ndp_tx_request(), and ndp_tx_router_solicitation().
uint16_t sockaddr_in6::sin6_flags |
Flags (part of struct sockaddr_tcpip
)
uint16_t sockaddr_in6::sin6_port |
TCP/IP port (part of struct sockaddr_tcpip
)
uint16_t sockaddr_in6::sin6_scope_id |
Scope ID (part of struct sockaddr_tcpip
)
For link-local or multicast addresses, this is the network device index.
Definition at line 132 of file in.h.
Referenced by ipv6_netdev(), ipv6_sock_aton(), ipv6_sock_ntoa(), ipv6_tx(), ndp_tx_request(), and ndp_tx_router_solicitation().
struct in6_addr sockaddr_in6::sin6_addr |
IPv6 address.
Definition at line 134 of file in.h.
Referenced by dns_xfer_deliver(), ipv6_netdev(), ipv6_sock_aton(), ipv6_sock_ntoa(), ipv6_tx(), ndp_rx_neighbour_solicitation_ll_source(), ndp_rx_router_advertisement(), ndp_rx_router_advertisement_ll_source(), ndp_rx_router_advertisement_prefix(), ndp_tx_request(), ndp_tx_router_solicitation(), nslookup_resolv_done(), and x509_check_ipaddress().
char sockaddr_in6::pad[sizeof(struct sockaddr) -(sizeof(sa_family_t)+ sizeof(uint16_t)+ sizeof(uint16_t)+ sizeof(uint16_t)+ sizeof(struct in6_addr))] |
Padding.
This ensures that a struct sockaddr_in6
is large enough to hold a socket address for any TCP/IP address family.