Returns an IP address based on a particular local address and a network. Format #include <in.h> #include <inet.h> struct in_addr inet_makeaddr ( int net, int lna );
1 – Arguments
net An IP network address in host byte order. lna A local network address on network net in host byte order.
2 – Description
This function combines the net and lna arguments into a single IP address. NOTE The 64-bit return from OpenVMS Alpha and I64 systems has zero-extended bits in the high 32 bits of R0.
3 – Return Value
x An IP address in network byte order.