Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/n/netent.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/n/netent.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/n/netent.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/n/netent.html on line 8
Structure for information from the network database
#include <netdb.h>
struct netent {
char * n_name;
char ** n_aliases;
int n_addrtype;
uint32_t n_net;
};
This structure holds information from the network database,
/etc/networks.
The members of this structure are:
- n_name
- The name of the network.
- n_aliases
- A zero-terminated list of alternate names for the network.
- n_addrtype
- The type of the network number returned; currently only AF_INET.
- n_net
- The network number. Network numbers are returned in
machine-byte order.
POSIX 1003.1
endnetent(),
getnetbyaddr(),
getnetbyname(),
getnetent(),
setnetent()
/etc/networks
in the Utilities Reference
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/n/netent.html on line 110
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/n/netent.html on line 110