Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

ip_addr.h File Reference

ip_addr.h File Reference

IP address API (common IPv4 and IPv6) More...

Go to the source code of this file.

Data Structures

struct  ip_addr
 A union struct for both IP version's addresses. More...

Typedefs

typedef struct ip_addr ip_addr_t
 A union struct for both IP version's addresses.

Enumerations

enum  lwip_ip_addr_type { IPADDR_TYPE_V4 = 0U, IPADDR_TYPE_V6 = 6U, IPADDR_TYPE_ANY = 46U }
 

IP address types for use in ip_addr_t.type member.

More...

Functions

char * ipaddr_ntoa (const ip_addr_t *addr)
 Convert numeric IP address (both versions) into ASCII representation.
char * ipaddr_ntoa_r (const ip_addr_t *addr, char *buf, int buflen)
 Same as ipaddr_ntoa, but reentrant since a user-supplied buffer is used.
int ipaddr_aton (const char *cp, ip_addr_t *addr)
 Convert IP address string (both versions) to numeric.

Detailed Description

IP address API (common IPv4 and IPv6)

Definition in file ip_addr.h.