Cross reference for ip/inet_pton.c of index.

# File ip/inet_pton.c

## Included Files

- `#include <sys/param.h>`

- `#include <sys/types.h>`

- `#include <sys/socket.h>`

- `#include <netinet/in.h>`

- `#include <arpa/inet.h>`

- `#include <arpa/nameser.h>`

- `#include <assert.h>`

- `#include <ctype.h>`

- `#include <errno.h>`

- `#include <stdlib.h>`

- `#include <string.h>`

- `#include "ip/inet6def.h"`
  - `#include <sys/socket.h>`
  - `#include <netinet/in.h>`

## Preprocessor definitions

`#define __P( a )`

## Global Function inet_pton()

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

Prototyped in: | /usr/include/arpa/inet.h
Calls: | inet_pton4() | ip/inet_pton.c
| inet_pton6() | ip/inet_pton.c
| ___errno()

## Local Function asctime_r()

`static char* asctime_r ( const struct tm* __tm, char* __buf )`

Included from: | /usr/include/time.h
Calls: | __posix_asctime_r()

## Local Function ctime_r()

`static char* ctime_r ( const time_t* __time, char* __buf )`

Included from: | /usr/include/time.h
Calls: | __posix_ctime_r()

## Local Function inet_pton4()

`static int inet_pton4 ( const char* src, u_char* dst, int pton )`

Prototyped in: | ip/inet_pton.c
Calls: | memcpy()
Called by: | inet_pton() | ip/inet_pton.c
| inet_pton6() | ip/inet_pton.c

## Local Function inet_pton6()

`static int inet_pton6 ( const char* src, u_char* dst )`

Prototyped in: | ip/inet_pton.c
Calls: | inet_pton4() | ip/inet_pton.c
| memcpy(), memset(), strchr()
Called by: | inet_pton() | ip/inet_pton.c