From: Guy Harris Date: Fri, 19 Apr 2019 20:13:46 +0000 (-0700) Subject: Clean up some references to WinPcap. X-Git-Tag: libpcap-1.10-bp~503 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/82f5b14456853fd64be21f53162c19697ab6c4a2 Clean up some references to WinPcap. We're currently unlikely to be used with WinPcap, although you could build libpcap on Windows with the WinPcap SDK and install and use it; we are, however, built with Npcap as part of the Npcap binary. --- diff --git a/INSTALL.md b/INSTALL.md index f9d66e32..4c34eba8 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -265,7 +265,7 @@ FILES doc/README.septel - notes on using libpcap to capture on Intel/Septel devices doc/README.sita - notes on using libpcap to capture on SITA devices doc/README.tru64 - notes on using libpcap on Digital/Tru64 UNIX - doc/README.Win32 - notes on using libpcap on Win32 systems (with WinPcap) + doc/README.Win32.md - notes on using libpcap on Win32 systems (with Npcap) VERSION - version of this release acconfig.h - support for post-2.13 autoconf aclocal.m4 - autoconf macros @@ -324,7 +324,7 @@ FILES pcap-namedb.h - header for backwards compatibility pcap-nit.c - SunOS Network Interface Tap support pcap-nit.h - SunOS Network Interface Tap definitions - pcap-npf.c - WinPcap capture support + pcap-npf.c - Npcap capture support pcap-null.c - dummy monitor support (allows offline use of libpcap) pcap-pf.c - Ultrix and Digital/Tru64 UNIX Packet Filter support pcap-pf.h - Ultrix and Digital/Tru64 UNIX Packet Filter definitions diff --git a/gencode.c b/gencode.c index 65a911a4..585ea01e 100644 --- a/gencode.c +++ b/gencode.c @@ -762,7 +762,7 @@ pcap_compile(pcap_t *p, struct bpf_program *program, * filter for this pcap_t; we might be running it from userland * on captured packets to do packet classification. We really * need a better way of handling this, but this is all that - * the WinPcap code did. + * the WinPcap remote capture code did. */ if (p->save_current_filter_op != NULL) (p->save_current_filter_op)(p, buf); diff --git a/pcap-new.c b/pcap-new.c index 1ec01cd4..e61cf6ab 100644 --- a/pcap-new.c +++ b/pcap-new.c @@ -120,7 +120,7 @@ int pcap_findalldevs_ex(const char *source, struct pcap_rmtauth *auth, pcap_if_t if (*alldevs == NULL) { pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, - "No interfaces found! Make sure libpcap/WinPcap is properly installed" + "No interfaces found! Make sure libpcap/Npcap is properly installed" " on the local machine."); return -1; }