inet_netof - Translate an Internet address into its network
address component
#include <arpa/inet.h>
in_addr_t inet_netof(
struct in_addr net_addr );
Standard C Library (libc)
Interfaces documented on this reference page conform to
industry standards as follows:
inet_netof(): XNS4.0, XNS5.0
Refer to the standards(5) reference page for more information
about industry standards and associated tags.
Defines an Internet address in network-byte order.
The inet_netof() function translates an Internet address
into its network address component. The network address
integer is returned in host-byte order.
The inet_netof() function returns a host byte-ordered
Internet network address.
Current industry standards for inet_netof() do not define
error values.
Functions: inet_addr(3), inet_lnaof(3), inet_makeaddr(3),
inet_network(3), inet_ntoa(3)
Standards: standards(5)
Network Programmer's Guide
inet_netof(3)
[ Back ] |