Internet common definitions. More...
#include <sys/types.h>
#include "byteorder.h"
Data Structures | |
struct | sockaddr |
Socket address. More... | |
Typedefs | |
typedef struct sockaddr | sockaddr_t |
Type definition of the socket address. | |
typedef struct addrinfo | addrinfo_t |
Type definition of the address information. | |
Functions | |
int | inet_ntop (uint16_t family, const uint8_t *data, char *address, size_t length) |
Prints the address into the character buffer. | |
int | inet_pton (uint16_t family, const char *address, uint8_t *data) |
Parses the character string into the address. |
Internet common definitions.