diff options
author | fenner <fenner@FreeBSD.org> | 2000-01-30 00:32:56 +0000 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 2000-01-30 00:32:56 +0000 |
commit | aae9bd2bccda7ddbeb438e8238ced9c4cd1e9d1d (patch) | |
tree | d7ccf2b8332af627d9692b32089580fd3967581f /contrib/libpcap/pcap-namedb.h | |
parent | ca0d84cb8bfc8789fd48ada56322a575c4a1aa68 (diff) | |
download | FreeBSD-src-aae9bd2bccda7ddbeb438e8238ced9c4cd1e9d1d.zip FreeBSD-src-aae9bd2bccda7ddbeb438e8238ced9c4cd1e9d1d.tar.gz |
Virgin import of tcpdump.org libpcap v0.5
Diffstat (limited to 'contrib/libpcap/pcap-namedb.h')
-rw-r--r-- | contrib/libpcap/pcap-namedb.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/libpcap/pcap-namedb.h b/contrib/libpcap/pcap-namedb.h index e3b399a..83ddec1 100644 --- a/contrib/libpcap/pcap-namedb.h +++ b/contrib/libpcap/pcap-namedb.h @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#) $Header: pcap-namedb.h,v 1.5 96/07/14 03:00:14 leres Exp $ (LBL) + * @(#) $Header: /tcpdump/master/libpcap/pcap-namedb.h,v 1.6 1999/10/19 15:18:31 itojun Exp $ (LBL) */ #ifndef lib_pcap_ethers_h @@ -54,7 +54,11 @@ struct pcap_etherent *pcap_next_etherent(FILE *); u_char *pcap_ether_hostton(const char*); u_char *pcap_ether_aton(const char *); +#ifndef INET6 bpf_u_int32 **pcap_nametoaddr(const char *); +#else +struct addrinfo *pcap_nametoaddr(const char *); +#endif bpf_u_int32 pcap_nametonetaddr(const char *); int pcap_nametoport(const char *, int *, int *); |