|
Tizen RT Libs&Environment
v1.0 D5
|
inet API More...
#include <tinyara/config.h>#include <sys/types.h>#include <stdint.h>#include <netinet/in.h>
Go to the source code of this file.
Macros | |
| #define | INET_ADDRSTRLEN 16 |
| #define | INET6_ADDRSTRLEN 46 |
| #define | HTONS(ns) |
| #define | HTONL(nl) |
| #define | NTOHS(hs) HTONS(hs) |
| #define | NTOHL(hl) HTONL(hl) |
| #define | EXTERN extern |
Functions | |
| uint32_t | ntohl (uint32_t nl) |
| Convert the unsigned integer netlong from network byte order to host byte order. More... | |
| uint16_t | ntohs (uint16_t ns) |
| Convert the unsigned short integer netshort from network byte order to host byte order. More... | |
| uint32_t | htonl (uint32_t hl) |
| Convert the unsigned integer hostlong from host byte order to network byte order. More... | |
| uint16_t | htons (uint16_t hs) |
| Convert the unsigned short integer hostshort from host byte order to network byte order. More... | |
| int | inet_aton (FAR const char *cp, FAR struct in_addr *inp) |
| Convert the Internet host address from the IPv4 numbers-and-dots notation into binary form. More... | |
| in_addr_t | inet_addr (FAR const char *cp) |
| Convert the Internet host address from the IPv4 numbers-and-dots notation into binary data in network byte order. More... | |
inet API
Definition in file inet.h.