Rizky Ardi Maulana / mbed-os
Embed: (wiki syntax)

« Back to documentation index

nsapi_addr Struct Reference

nsapi_addr Struct Reference
[Netsocket]

IP address structure for passing IP addresses by value. More...

#include <nsapi_types.h>

Data Fields

nsapi_version_t version
 IP version NSAPI_IPv4 or NSAPI_IPv6 (NSAPI_UNSPEC not currently supported)
uint8_t bytes [NSAPI_IP_BYTES]
 IP address The raw bytes of the IP address stored in big-endian format.

Detailed Description

IP address structure for passing IP addresses by value.

Definition at line 113 of file nsapi_types.h.


Field Documentation

uint8_t bytes[NSAPI_IP_BYTES]

IP address The raw bytes of the IP address stored in big-endian format.

Definition at line 122 of file nsapi_types.h.

nsapi_version_t version

IP version NSAPI_IPv4 or NSAPI_IPv6 (NSAPI_UNSPEC not currently supported)

Definition at line 117 of file nsapi_types.h.