Mbed OS Reference
Loading...
Searching...
No Matches
nsapi_addr Struct Reference

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

#include <nsapi_types.h>

Data Fields

nsapi_version_t version
 IP version. More...
 
uint8_t bytes [16]
 IP address The raw bytes of the IP address stored in big-endian format. More...
 

Detailed Description

IP address structure for passing IP addresses by value.

Definition at line 237 of file nsapi_types.h.

Field Documentation

◆ version

nsapi_version_t version

IP version.

  • NSAPI_IPv4
  • NSAPI_IPv6
  • NSAPI_UNSPEC

Definition at line 243 of file nsapi_types.h.

◆ bytes

uint8_t bytes[ 16]

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

Definition at line 248 of file nsapi_types.h.