diff options
author | guy <guy> | 2002-07-11 09:06:30 +0000 |
---|---|---|
committer | guy <guy> | 2002-07-11 09:06:30 +0000 |
commit | 243b20ec553e192599e5280f17703454b4420fe0 (patch) | |
tree | 8b56a1369d487e0ca62902e7bc2bf7999dac2d1e /pcap-int.h | |
parent | 0d020002007bc5fc8b3c058f78c8d9456ee5acfd (diff) |
Add SunATM support, based on code from Yen Yen Lim at North Dakota State
University.
Diffstat (limited to 'pcap-int.h')
-rw-r--r-- | pcap-int.h | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#) $Header: /tcpdump/master/libpcap/pcap-int.h,v 1.34 2002-06-11 17:04:46 itojun Exp $ (LBL) + * @(#) $Header: /tcpdump/master/libpcap/pcap-int.h,v 1.35 2002-07-11 09:06:38 guy Exp $ (LBL) */ #ifndef pcap_int_h @@ -193,6 +193,19 @@ int pcap_read(pcap_t *, int cnt, pcap_handler, u_char *); strlen((y))) #endif +/* + * Internal interfaces for "pcap_findalldevs()". + * + * "pcap_platform_finddevs()" is a platform-dependent routine to + * add devices not found by the "standard" mechanisms (SIOCGIFCONF, + * "getifaddrs()", etc.. + * + * "pcap_add_if()" adds an interface to the list of interfaces. + */ +int pcap_platform_finddevs(pcap_if_t **, char *); +int pcap_add_if(pcap_if_t **, char *, u_int, const char *, char *); + + #ifdef linux void pcap_close_linux(pcap_t *); #endif |