![]() |
![]() |
![]() |
Structure for 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:
Unix
endnetent(), getnetbyaddr(), getnetbyname(), getnetent(), setnetent()
/etc/networks in the Utilities reference
![]() |
![]() |
![]() |