1*97a9217aSAntonio Huete Jimenez /* 2*97a9217aSAntonio Huete Jimenez * Copyright (c) 1994, 1996 3*97a9217aSAntonio Huete Jimenez * The Regents of the University of California. All rights reserved. 4*97a9217aSAntonio Huete Jimenez * 5*97a9217aSAntonio Huete Jimenez * Redistribution and use in source and binary forms, with or without 6*97a9217aSAntonio Huete Jimenez * modification, are permitted provided that the following conditions 7*97a9217aSAntonio Huete Jimenez * are met: 8*97a9217aSAntonio Huete Jimenez * 1. Redistributions of source code must retain the above copyright 9*97a9217aSAntonio Huete Jimenez * notice, this list of conditions and the following disclaimer. 10*97a9217aSAntonio Huete Jimenez * 2. Redistributions in binary form must reproduce the above copyright 11*97a9217aSAntonio Huete Jimenez * notice, this list of conditions and the following disclaimer in the 12*97a9217aSAntonio Huete Jimenez * documentation and/or other materials provided with the distribution. 13*97a9217aSAntonio Huete Jimenez * 3. All advertising materials mentioning features or use of this software 14*97a9217aSAntonio Huete Jimenez * must display the following acknowledgement: 15*97a9217aSAntonio Huete Jimenez * This product includes software developed by the Computer Systems 16*97a9217aSAntonio Huete Jimenez * Engineering Group at Lawrence Berkeley Laboratory. 17*97a9217aSAntonio Huete Jimenez * 4. Neither the name of the University nor of the Laboratory may be used 18*97a9217aSAntonio Huete Jimenez * to endorse or promote products derived from this software without 19*97a9217aSAntonio Huete Jimenez * specific prior written permission. 20*97a9217aSAntonio Huete Jimenez * 21*97a9217aSAntonio Huete Jimenez * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 22*97a9217aSAntonio Huete Jimenez * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23*97a9217aSAntonio Huete Jimenez * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24*97a9217aSAntonio Huete Jimenez * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 25*97a9217aSAntonio Huete Jimenez * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26*97a9217aSAntonio Huete Jimenez * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27*97a9217aSAntonio Huete Jimenez * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28*97a9217aSAntonio Huete Jimenez * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29*97a9217aSAntonio Huete Jimenez * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30*97a9217aSAntonio Huete Jimenez * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31*97a9217aSAntonio Huete Jimenez * SUCH DAMAGE. 32*97a9217aSAntonio Huete Jimenez */ 33*97a9217aSAntonio Huete Jimenez 34*97a9217aSAntonio Huete Jimenez #ifdef __cplusplus 35*97a9217aSAntonio Huete Jimenez extern "C" { 36*97a9217aSAntonio Huete Jimenez #endif 37*97a9217aSAntonio Huete Jimenez 38*97a9217aSAntonio Huete Jimenez /* 39*97a9217aSAntonio Huete Jimenez * Routines used for name-or-address-string-to-address resolution 40*97a9217aSAntonio Huete Jimenez * that are *not* exported to code using libpcap. 41*97a9217aSAntonio Huete Jimenez */ 42*97a9217aSAntonio Huete Jimenez int __pcap_atodn(const char *, bpf_u_int32 *); 43*97a9217aSAntonio Huete Jimenez int __pcap_atoin(const char *, bpf_u_int32 *); 44*97a9217aSAntonio Huete Jimenez int __pcap_nametodnaddr(const char *, u_short *); 45*97a9217aSAntonio Huete Jimenez 46*97a9217aSAntonio Huete Jimenez #ifdef __cplusplus 47*97a9217aSAntonio Huete Jimenez } 48*97a9217aSAntonio Huete Jimenez #endif 49