Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

OSS Library Calls (i - m) inet_lnaof(3)
NAME
inet_lnaof - Extracts the local network address from an Internet IPv4 host address
LIBRARY
G-series native OSS processes: /G/system/sysnn/zinetsrl
32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll |
64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll |
SYNOPSIS
#include <arpa/inet.h>
in_addr_t inet_lnaof(
struct in_addr net_addr);
PARAMETERS
net_addr An Internet host address.
DESCRIPTION
The inet_lnaof( ) function extracts, in host-byte order, the local address part of the IPv4 host
address specified by net_addr.
RETURN VALUES
Upon successful completion, the inet_lnaof( ) function returns an integer that specifies the local
address part of the Internet IPv4 network address integer.
RELATED INFORMATION
Functions: inet_addr(3), inet_netof(3), inet_makeaddr(3), inet_network(3), inet_ntoa(3),
ntohl(3).
527187-017 Hewlett-Packard Company 421