]> The Tcpdump Group git mirrors - libpcap/commit
pcap-npf.c: handle NdisMediumIP.
authorGuy Harris <[email protected]>
Wed, 23 Jun 2021 23:25:23 +0000 (16:25 -0700)
committerGuy Harris <[email protected]>
Wed, 23 Jun 2021 23:46:16 +0000 (16:46 -0700)
commitef0e7b15fe871d79e678a3482b0c5a02171dacfe
tree2187bd3f22dcc78da759b15a2a48fabafb1aafb0
parentf7f1d3166ba8a7b2d45feed05895c1072c077527
pcap-npf.c: handle NdisMediumIP.

Packets from an NdisMediumIP being with an IP header, with no link-layer
header preceding it, so say it's DLT_RAW.

It's not defined in SDKs for older versions of Windows, so we have to
check for it with a compile test in CMake.

(cherry picked from commit 74be794fe7b3540999149f976e4a829289ad43ef)
CMakeLists.txt
cmakeconfig.h.in
pcap-npf.c