Open System Services Library Calls Reference Manual (G06.27+, H06.04+)

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
H-series OSS processes: /G/system/zdllnnn/zinetdll
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 specied by net_addr.
RETURN VALUES
Upon successful completion, the inet_lnaof() function returns an integer that species 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-004 Hewlett-Packard Company 417