]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-int.h
Add SunATM support, based on code from Yen Yen Lim at North Dakota State
[libpcap] / pcap-int.h
index 6e5b9c8aedb12c2de96cca9b0b3735a8e3fe77e8..d6a49d39f3a59c135cd715438f171dbb997f2f4b 100644 (file)
@@ -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