* The list, as returned through "alldevsp", may be NULL if no interfaces
* were up and could be opened.
*/
-int pcap_findalldevs_interfaces (pcap_if_t **alldevsp, char *errbuf)
+int pcap_platform_finddevs (pcap_if_t **alldevsp, char *errbuf)
{
struct device *dev;
struct sockaddr_in sa_ll_1, sa_ll_2;
return (ret);
}
-/*
- * platform-dependent routine to add devices or interfaces.
- * We don't have any, so just return 0.
- */
-int pcap_platform_finddevs (pcap_if_t **alldevsp, char *errbuf)
-{
- /*
- * We just return the regular interfaces.
- */
- return (pcap_findalldevs_interfaces(alldevsp, errbuf));
-}
-
/*
* pcap_assert() is mainly used for debugging
*/
* use by various "find interfaces" routines.
*/
int pcap_platform_finddevs(pcap_if_t **, char *);
-#ifndef _WIN32
+#if !defined(_WIN32) && !defined(MSDOS)
int pcap_findalldevs_interfaces(pcap_if_t **, char *);
#endif
int add_addr_to_iflist(pcap_if_t **, const char *, bpf_u_int32,