xref: /titanic_41/usr/src/lib/libbc/inc/include/arpa/inet.h (revision 2a9459bdd821c1cf59590a7a9069ac9c591e8a6b)
17c478bd9Sstevel@tonic-gate /*
2*2a9459bdSsangeeta  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
3*2a9459bdSsangeeta  * Use is subject to license terms.
4*2a9459bdSsangeeta  *
57c478bd9Sstevel@tonic-gate  * Copyright (c) 1983 Regents of the University of California.
67c478bd9Sstevel@tonic-gate  * All rights reserved.  The Berkeley software License Agreement
77c478bd9Sstevel@tonic-gate  * specifies the terms and conditions for redistribution.
87c478bd9Sstevel@tonic-gate  */
97c478bd9Sstevel@tonic-gate 
10*2a9459bdSsangeeta #pragma ident	"%Z%%M%	%I%	%E% SMI"
11*2a9459bdSsangeeta 
127c478bd9Sstevel@tonic-gate /*
137c478bd9Sstevel@tonic-gate  * External definitions for
147c478bd9Sstevel@tonic-gate  * functions in inet(3N)
157c478bd9Sstevel@tonic-gate  */
167c478bd9Sstevel@tonic-gate 
177c478bd9Sstevel@tonic-gate #ifndef	_arpa_inet_h
187c478bd9Sstevel@tonic-gate #define	_arpa_inet_h
197c478bd9Sstevel@tonic-gate 
207c478bd9Sstevel@tonic-gate unsigned long inet_addr();
217c478bd9Sstevel@tonic-gate char	*inet_ntoa();
22*2a9459bdSsangeeta /*
23*2a9459bdSsangeeta  * With the introduction of CIDR the following
24*2a9459bdSsangeeta  * routines are now considered to be Obsolete
25*2a9459bdSsangeeta  */
267c478bd9Sstevel@tonic-gate struct	in_addr inet_makeaddr();
277c478bd9Sstevel@tonic-gate unsigned long inet_network();
287c478bd9Sstevel@tonic-gate 
297c478bd9Sstevel@tonic-gate #endif	/* !_arpa_inet_h */
30