KallistiOS  2.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Data Fields
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. Must be AF_INET6.
in_port_t sin6_port
 Port for the socket. Must be in network byte order.
uint32_t sin6_flowinfo
 Traffic class and flow information.
struct in6_addr sin6_addr
 Address for the socket. Must be in network byte order.
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

struct in6_addr sockaddr_in6::sin6_addr

Address for the socket. Must be in network byte order.

sa_family_t sockaddr_in6::sin6_family

Family for the socket. Must be AF_INET6.

uint32_t sockaddr_in6::sin6_flowinfo

Traffic class and flow information.

in_port_t sockaddr_in6::sin6_port

Port for the socket. Must be in network byte order.

uint32_t sockaddr_in6::sin6_scope_id

Set of interfaces for a scope.


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