Index Index for
Section 3
Index Alphabetical
listing for I
Bottom of page Bottom of
page

inet_netof(3)

NAME

inet_netof - Translate an Internet address into its network address component

SYNOPSIS

#include <arpa/inet.h> in_addr_t inet_netof( struct in_addr net_addr );

LIBRARY

Standard C Library (libc)

STANDARDS

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.

PARAMETERS

net_addr Defines an Internet address in network-byte order.

DESCRIPTION

The inet_netof() function translates an Internet address into its network address component. The network address integer is returned in host-byte order.

RETURN VALUES

The inet_netof() function returns a host byte-ordered Internet network address.

ERRORS

Current industry standards for inet_netof() do not define error values.

SEE ALSO

Functions: inet_addr(3), inet_lnaof(3), inet_makeaddr(3), inet_network(3), inet_ntoa(3) Standards: standards(5) Network Programmer's Guide

Index Index for
Section 3
Index Alphabetical
listing for I
Top of page Top of
page