#include <config.h>
#include <ctype.h>
#include <stddef.h>
#include <isc/types.h>
#include <isc/net.h>
Go to the source code of this file.
Functions | |
int | isc_net_aton (const char *cp, struct in_addr *addr) |
Check whether "cp" is a valid ascii representation of an Internet address and convert to a binary address. Returns 1 if the address is valid, 0 if not. This replaces inet_addr, the return value from which cannot distinguish between failure and a local broadcast address. |
Definition in file inet_aton.c.
int isc_net_aton | ( | const char * | cp, | |
struct in_addr * | addr | |||
) |
Check whether "cp" is a valid ascii representation of an Internet address and convert to a binary address. Returns 1 if the address is valid, 0 if not. This replaces inet_addr, the return value from which cannot distinguish between failure and a local broadcast address.
Definition at line 89 of file inet_aton.c.