dhcpd-pools  2.28
ISC dhcpd lease usage analyser
Macros | Functions
inet_pton.c File Reference
#include <config.h>
#include <arpa/inet.h>
#include <c-ctype.h>
#include <string.h>
#include <errno.h>
Include dependency graph for inet_pton.c:

Macros

#define NS_INADDRSZ   4
 
#define NS_IN6ADDRSZ   16
 
#define NS_INT16SZ   2
 

Functions

static int inet_pton4 (const char *src, unsigned char *dst)
 
int inet_pton (int af, const char *restrict src, void *restrict dst)
 
static int inet_pton4 (const char *restrict src, unsigned char *restrict dst)
 

Macro Definition Documentation

#define NS_IN6ADDRSZ   16
#define NS_INADDRSZ   4

Referenced by inet_pton4().

#define NS_INT16SZ   2

Function Documentation

int inet_pton ( int  af,
const char *restrict  src,
void *restrict  dst 
)

Referenced by parse_ipaddr_init(), and parse_ipaddr_v6().

Here is the call graph for this function:

static int inet_pton4 ( const char *  src,
unsigned char *  dst 
)
static

Referenced by inet_pton().

static int inet_pton4 ( const char *restrict  src,
unsigned char *restrict  dst 
)
static