inet.h revision 03b59f7842b50eda32f941744a5d94a55e47ba26
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * CDDL HEADER START
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * The contents of this file are subject to the terms of the
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * Common Development and Distribution License (the "License").
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * You may not use this file except in compliance with the License.
422009fe5b15e31e7f5d09212bd1480121a1464eEvan Hunt * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
50f64cf0e58073f61bea3e1e4a9ad258bca80961Francis Dupont * or http://www.opensolaris.org/os/licensing.
50f64cf0e58073f61bea3e1e4a9ad258bca80961Francis Dupont * See the License for the specific language governing permissions
50f64cf0e58073f61bea3e1e4a9ad258bca80961Francis Dupont * and limitations under the License.
50f64cf0e58073f61bea3e1e4a9ad258bca80961Francis Dupont * When distributing Covered Code, include this CDDL HEADER in each
50f64cf0e58073f61bea3e1e4a9ad258bca80961Francis Dupont * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
50f64cf0e58073f61bea3e1e4a9ad258bca80961Francis Dupont * If applicable, add the following below this CDDL HEADER, with the
50f64cf0e58073f61bea3e1e4a9ad258bca80961Francis Dupont * fields enclosed by brackets "[]" replaced with your own identifying
50f64cf0e58073f61bea3e1e4a9ad258bca80961Francis Dupont * information: Portions Copyright [yyyy] [name of copyright owner]
50f64cf0e58073f61bea3e1e4a9ad258bca80961Francis Dupont * CDDL HEADER END
50f64cf0e58073f61bea3e1e4a9ad258bca80961Francis Dupont * Copyright 2014 Garrett D'Amore <garrett@damore.org>
50f64cf0e58073f61bea3e1e4a9ad258bca80961Francis Dupont * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
50f64cf0e58073f61bea3e1e4a9ad258bca80961Francis Dupont * Use is subject to license terms.
50f64cf0e58073f61bea3e1e4a9ad258bca80961Francis Dupont * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
#ifndef _ARPA_INET_H
#define _ARPA_INET_H
#ifdef __cplusplus
extern int inet_matchaddr(const void *, const char *);
extern int inet_cidr_pton(int, const char *, void *, int *);
#ifdef __cplusplus