home *** CD-ROM | disk | FTP | other *** search
- #include "arpa/inet.h"
- #include "netinet/in.h"
-
- /*
- * Create an internet address from a network number and a local address
- */
- struct in_addr inet_makeaddr(u_long net,u_long lna)
- {
- struct in_addr address;
-
- address.s_addr = net | lna;
-
- return address;
- }
-