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

inet_makeaddr(3)

NAME

inet_makeaddr - Translate an Internet network address and host address into an Internet network byte-ordered address

SYNOPSIS

#include <arpa/inet.h> struct in_addr inet_makeaddr( in_addr_t net_num, in_addr_t loc_addr );

LIBRARY

Standard C Library (libc)

STANDARDS

Interfaces documented on this reference page conform to industry standards as follows: inet_makeaddr(): XNS4.0, XNS5.0 Refer to the standards(5) reference page for more information about industry standards and associated tags.

PARAMETERS

net_num Defines a network number in host-byte order. loc_addr Defines a host (local) address in host-byte order.

DESCRIPTION

The inet_makeaddr() function translates a network number and a local host address into their equivalent Internet address. The Internet address is returned in network-byte order.

RETURN VALUES

The inet_makeaddr() function returns an Internet address in network byte order.

ERRORS

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

SEE ALSO

Functions: inet_addr(3), inet_lnaof(3), inet_netof(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