]> The Tcpdump Group git mirrors - libpcap/commitdiff
Clean up some references to WinPcap.
authorGuy Harris <[email protected]>
Fri, 19 Apr 2019 20:13:46 +0000 (13:13 -0700)
committerGuy Harris <[email protected]>
Fri, 19 Apr 2019 20:13:46 +0000 (13:13 -0700)
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.

INSTALL.md
gencode.c
pcap-new.c

index f9d66e3205c5c545b1f536e352b174219d492ba0..4c34eba80ded2b36adeec6bf4985168cb733a2ca 100644 (file)
@@ -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
index 65a911a43e9644e0f249bc20bb430371cbb25642..585ea01efebfcc1a9774de2280991f015caf3116 100644 (file)
--- 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);
index 1ec01cd47290594345ce05806a6dd31259fabcfb..e61cf6ab2e9bac47e6bcc179836389a18e926723 100644 (file)
@@ -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;
                }