BA / Mbed OS BaBoRo1
Embed: (wiki syntax)

« Back to documentation index

sockaddr_in6 Struct Reference

sockaddr_in6 Struct Reference
[Fnet_socket]

IPv6 Socket address structure. More...

#include <fnet_socket.h>

Data Fields

struct in6_addr sin6_addr
 128-bit IPv6 internet address.
fnet_address_family_t sin6_family
 Specifies the address family.
fnet_uint16_t sin6_port
 16-bit port number used to demultiplex the transport-level messages (in network byte order).
fnet_scope_id_t sin6_scope_id
 Scope zone index, defining network interface.

Detailed Description

IPv6 Socket address structure.

See also:
sockaddr

To make manipulation of the sockaddr structure easier, the TCP/IPv6 stack also defines the equivalent structure sockaddr_in6 ("in" means "Internet").

Definition at line 79 of file sockets.h.


Field Documentation

128-bit IPv6 internet address.

Definition at line 84 of file sockets.h.

fnet_address_family_t sin6_family

Specifies the address family.


It must ne set to AF_INET6.

Definition at line 253 of file fnet_socket.h.

fnet_uint16_t sin6_port

16-bit port number used to demultiplex the transport-level messages (in network byte order).

Definition at line 255 of file fnet_socket.h.

fnet_scope_id_t sin6_scope_id

Scope zone index, defining network interface.

Definition at line 258 of file fnet_socket.h.