FreeBSD kernel libkern code
|
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/socket.h>
#include <sys/systm.h>
#include <netinet/in.h>
Go to the source code of this file.
Macros | |
#define | NS_IN6ADDRSZ 16 |
#define | NS_INT16SZ 2 |
Functions | |
__FBSDID ("$BSDSUniX$") | |
static char * | inet_ntop4 (const u_char *src, char *dst, socklen_t size) |
static char * | inet_ntop6 (const u_char *src, char *dst, socklen_t size) |
char * | inet_ntop (int af, const void *src, char *dst, socklen_t size) |
#define NS_IN6ADDRSZ 16 |
Referenced by inet_ntop6().
#define NS_INT16SZ 2 |
Referenced by inet_ntop6().
__FBSDID | ( | "$BSDSUniX$" | ) |
char* inet_ntop | ( | int | af, |
const void * | src, | ||
char * | dst, | ||
socklen_t | size | ||
) |
Definition at line 47 of file inet_ntop.c.
References inet_ntop4(), and inet_ntop6().
|
static |
Definition at line 72 of file inet_ntop.c.
References strlcpy().
Referenced by inet_ntop(), and inet_ntop6().
|
static |
Definition at line 93 of file inet_ntop.c.
References inet_ntop4(), memset(), NS_IN6ADDRSZ, NS_INT16SZ, strcpy(), and strlen().
Referenced by inet_ntop().