#include <config.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <isc/net.h>
#include <isc/print.h>
Go to the source code of this file.
Defines | |
#define | NS_INT16SZ 2 |
#define | NS_IN6ADDRSZ 16 |
Functions | |
static const char * | inet_ntop4 (const unsigned char *src, char *dst, size_t size) |
const char * | isc_net_ntop (int af, const void *src, char *dst, size_t size) |
Definition in file inet_ntop.c.
#define NS_INT16SZ 2 |
#define NS_IN6ADDRSZ 16 |
static const char * inet_ntop4 | ( | const unsigned char * | src, | |
char * | dst, | |||
size_t | size | |||
) | [static] |
const char * inet_ntop4(src, dst, size) format an IPv4 address
(2) takes a unsigned char* not an in_addr as input
Definition at line 88 of file inet_ntop.c.
Referenced by isc_net_ntop().
const char* isc_net_ntop | ( | int | af, | |
const void * | src, | |||
char * | dst, | |||
size_t | size | |||
) |
char * isc_net_ntop(af, src, dst, size) convert a network format address to presentation format.
Definition at line 59 of file inet_ntop.c.
References AF_INET6, and inet_ntop4().