Go to the source code of this file.
Functions | |
static const char * | inet_ntop4 (const unsigned char *src, char *dst, size_t size) |
static const char * | inet_ntop6 (const unsigned char *src, char *dst, size_t size) |
static const char * | os_inet_ntop (int af, const void *src, char *dst, size_t size) |
|
static |
const char * inet_ntop4(src, dst, size) format an IPv4 address return: ‘dst’ (as a const) notes: (1) uses no statics (2) takes a unsigned char* not an in_addr as input author: Paul Vixie, 1996.
Definition at line 66 of file inet_ntop.h.
Referenced by inet_ntop6(), and os_inet_ntop().
|
static |
const char * inet_ntop6(src, dst, size) convert IPv6 binary address into presentation (printable) format author: Paul Vixie, 1996.
Note that int32_t and int16_t need only be "at least" large enough to contain a value of the specified size. On some systems, like Crays, there is no such thing as an integer variable with 16 bits. Keep this in mind if you think this function should have been coded to use pointer overlays. All the world's not a VAX.
Definition at line 89 of file inet_ntop.h.
Referenced by os_inet_ntop().
char * lwres_net_ntop(af, src, dst, size) convert a network format address to presentation format. return: pointer to presentation format address (‘dst’), or NULL (see errno). author: Paul Vixie, 1996.
Definition at line 40 of file inet_ntop.h.
Referenced by NET_BaseAdrToString().