KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
sockaddr_in6 Struct Reference

Structure used to store an IPv6 address for a socket. More...

#include <netinet/in.h>

Data Fields

sa_family_t sin6_family
 Family for the socket.
 
in_port_t sin6_port
 Port for the socket.
 
uint32_t sin6_flowinfo
 Traffic class and flow information.
 
struct in6_addr sin6_addr
 Address for the socket.
 
uint32_t sin6_scope_id
 Set of interfaces for a scope.
 

Detailed Description

Structure used to store an IPv6 address for a socket.

This structure is the standard way to set up addresses for sockets in the AF_INET6 address family. Generally you will not send one of these directly to a function, but rather will cast it to a struct sockaddr.

Field Documentation

◆ sin6_addr

struct in6_addr sockaddr_in6::sin6_addr

Address for the socket.

Must be in network byte order.

◆ sin6_family

sa_family_t sockaddr_in6::sin6_family

Family for the socket.

Must be AF_INET6.

◆ sin6_flowinfo

uint32_t sockaddr_in6::sin6_flowinfo

Traffic class and flow information.

◆ sin6_port

in_port_t sockaddr_in6::sin6_port

Port for the socket.

Must be in network byte order.

◆ sin6_scope_id

uint32_t sockaddr_in6::sin6_scope_id

Set of interfaces for a scope.


The documentation for this struct was generated from the following file: