Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

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
  • NSAPI_IPv6
  • NSAPI_UNSPEC.

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 188 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 199 of file nsapi_types.h.

nsapi_version_t version

IP version

  • NSAPI_IPv4
  • NSAPI_IPv6
  • NSAPI_UNSPEC.

Definition at line 194 of file nsapi_types.h.