diff options
author | fenner <fenner@FreeBSD.org> | 2000-01-30 00:43:38 +0000 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 2000-01-30 00:43:38 +0000 |
commit | 787eaee1ab20ef667522f74c0de780af3da9ee19 (patch) | |
tree | 3d97dbb185f58043dc42b43fc1544771c223280c /contrib/libpcap/pcap-namedb.h | |
parent | cd005a95696048ba76613daaa83178e68751c681 (diff) | |
download | FreeBSD-src-787eaee1ab20ef667522f74c0de780af3da9ee19.zip FreeBSD-src-787eaee1ab20ef667522f74c0de780af3da9ee19.tar.gz |
Merge libpcap 0.5
Diffstat (limited to 'contrib/libpcap/pcap-namedb.h')
-rw-r--r-- | contrib/libpcap/pcap-namedb.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/libpcap/pcap-namedb.h b/contrib/libpcap/pcap-namedb.h index 4310907..57e7598 100644 --- a/contrib/libpcap/pcap-namedb.h +++ b/contrib/libpcap/pcap-namedb.h @@ -30,7 +30,8 @@ * 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) + * $FreeBSD$ + * @(#) $Header: /tcpdump/master/libpcap/pcap-namedb.h,v 1.6 1999/10/19 15:18:31 itojun Exp $ (LBL) */ #ifndef lib_pcap_ethers_h @@ -59,7 +60,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 *); |