1 /* 2 * Copyright (c) 1983, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)inet.h 8.1 (Berkeley) 06/02/93 8 */ 9 10 #ifndef _INET_H_ 11 #define _INET_H_ 12 13 /* External definitions for functions in inet(3) */ 14 15 #include <sys/cdefs.h> 16 17 __BEGIN_DECLS 18 unsigned long inet_addr __P((const char *)); 19 int inet_aton __P((const char *, struct in_addr *)); 20 unsigned long inet_lnaof __P((struct in_addr)); 21 struct in_addr inet_makeaddr __P((u_long , u_long)); 22 unsigned long inet_netof __P((struct in_addr)); 23 unsigned long inet_network __P((const char *)); 24 char *inet_ntoa __P((struct in_addr)); 25 __END_DECLS 26 27 #endif /* !_INET_H_ */ 28