Lines Matching defs:npcap
111 * (Versions of libpcap with those APIs, and thus Npcap, which is based on
1574 * We need to look for wpcap.dll in \Windows\System32\Npcap first,
1577 * 1) WinPcap isn't installed and Npcap isn't installed in "WinPcap
1579 * \Windows\System32, only in \Windows\System32\Npcap;
1581 * 2) WinPcap is installed and Npcap isn't installed in "WinPcap
1583 * is a WinPcap DLL, but we'd prefer an Npcap DLL (we should
1585 * and we'll probably require Npcap if we're configured against
1586 * it), and that's in \Windows\System32\Npcap;
1588 * 3) Npcap is installed in "WinPcap API-compatible Mode", so both
1589 * \Windows\System32 and \Windows\System32\Npcap have an Npcap
1593 * set the rpath to include \Windows\System32\Npcap at link time;
1595 * add \Windows\System32\Npcap to the DLL search path early in
1600 * We add \Windows\System32\Npcap here.
1602 * See https://npcap.com/guide/npcap-devguide.html#npcap-feature-native-dll-implicitly
1608 static const WCHAR npcap[] = L"\\Npcap";
1612 * large enough for that directory path plus "\Npcap".
1689 * with the "\" of the "\Npcap" string), multiplied by
1691 * plus the size of the "\Npcap" string, in bytes (which
1696 ((system_directory_len - 1)*sizeof(WCHAR)) + sizeof npcap;
1699 error("Can't allocate string for Npcap directory");
1705 * Now append \Npcap. We add the length of the system directory path,
1712 memcpy(dll_directory + system_directory_len, npcap, sizeof npcap);