1335640Shselasky/* 2335640Shselasky * Copyright (c) 1994, 1995, 1996 3335640Shselasky * The Regents of the University of California. All rights reserved. 4335640Shselasky * 5335640Shselasky * Redistribution and use in source and binary forms, with or without 6335640Shselasky * modification, are permitted provided that the following conditions 7335640Shselasky * are met: 8335640Shselasky * 1. Redistributions of source code must retain the above copyright 9335640Shselasky * notice, this list of conditions and the following disclaimer. 10335640Shselasky * 2. Redistributions in binary form must reproduce the above copyright 11335640Shselasky * notice, this list of conditions and the following disclaimer in the 12335640Shselasky * documentation and/or other materials provided with the distribution. 13335640Shselasky * 3. All advertising materials mentioning features or use of this software 14335640Shselasky * must display the following acknowledgement: 15335640Shselasky * This product includes software developed by the Computer Systems 16335640Shselasky * Engineering Group at Lawrence Berkeley Laboratory. 17335640Shselasky * 4. Neither the name of the University nor of the Laboratory may be used 18335640Shselasky * to endorse or promote products derived from this software without 19335640Shselasky * specific prior written permission. 20335640Shselasky * 21335640Shselasky * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 22335640Shselasky * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23335640Shselasky * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24335640Shselasky * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 25335640Shselasky * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26335640Shselasky * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27335640Shselasky * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28335640Shselasky * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29335640Shselasky * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30335640Shselasky * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31335640Shselasky * SUCH DAMAGE. 32335640Shselasky */ 33335640Shselasky 34335640Shselasky#ifndef pcap_rpcap_h 35335640Shselasky#define pcap_rpcap_h 36335640Shselasky 37335640Shselasky/* 38335640Shselasky * Internal interfaces for "pcap_open()". 39335640Shselasky */ 40335640Shselaskypcap_t *pcap_open_rpcap(const char *source, int snaplen, int flags, 41335640Shselasky int read_timeout, struct pcap_rmtauth *auth, char *errbuf); 42335640Shselasky 43335640Shselasky/* 44335640Shselasky * Internal interfaces for "pcap_findalldevs_ex()". 45335640Shselasky */ 46356341Scyint pcap_findalldevs_ex_remote(const char *source, 47356341Scy struct pcap_rmtauth *auth, pcap_if_t **alldevs, char *errbuf); 48335640Shselasky 49335640Shselasky#endif 50