Structure for holding information from the network database
#include <netdb.h>
struct netent {
char * n_name;
char ** n_aliases;
int n_addrtype;
unsigned long n_net;
};
This structure holds information from the network database, /etc/networks. The members of this structure are:
POSIX 1003.1g (draft)
endnetent(), getnetbyaddr(), getnetbyname(), getnetent(), setnetent()
/etc/networks in the TCP/IP User's Guide