The inet_makeaddr() call combines an existing network number and a local network address to construct an internet address.
#include <manifest.h>
#include <bsdtypes.h>
#include <socket.h>
#include <in.h>
#include <inet.h>
struct in_addr
inet_makeaddr(unsigned long net, unsigned long lna)
The internet address is returned in network byte order.
inet_addr(), inet_lnaof(), inet_netof(), inet_network(), inet_ntoa()