Mapping network names (Internet domain)
Routines are provided for mapping network names to
numbers, and mapping numbers to network names.
These routines return a netent structure.
The network number is limited to 32 bits.
struct netent {
char *n_name;
char **n_aliases;
int n_addrtype;
unsigned long n_net;
}
*n_name**n_aliasesn_addrtypen_net