diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-07-07 22:52:57 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-07-07 22:52:57 +0000 |
commit | 07f42b5b31f9523deeb147226521f77a2c8dd797 (patch) | |
tree | c720d2a42f11c9d14ac1a161eb785b438c2c4b14 /resolv.h | |
parent | fba49cfe85d4b23ebbffa97fae126a379e913ecd (diff) |
Created a new protocol tree implementation and a new display filter
mechanism that is built into ethereal. Wiretap is now used to read all
file formats. Libpcap is used only for capturing.
svn path=/trunk/; revision=342
Diffstat (limited to 'resolv.h')
-rw-r--r-- | resolv.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* resolv.h * Definitions for network object lookup * - * $Id: resolv.h,v 1.4 1999/03/28 18:32:01 gram Exp $ + * $Id: resolv.h,v 1.5 1999/07/07 22:51:59 gram Exp $ * * Laurent Deniel <deniel@worldnet.fr> * @@ -72,4 +72,7 @@ extern u_char *get_ether_addr(u_char *name); /* adds a hostname/IP in the hash table */ extern void add_host_name(u_int addr, u_char *name); +/* Returns IP address for a string representing the hostname or dotted-decial IP address */ +unsigned long get_host_ipaddr(const char *host); + #endif /* __RESOLV_H__ */ |