]> The Tcpdump Group git mirrors - libpcap/commit
Move the ADAPTER * out of pcap_t into the pcap-win32.c private data.
authorGuy Harris <[email protected]>
Thu, 7 Sep 2017 02:21:01 +0000 (19:21 -0700)
committerGuy Harris <[email protected]>
Thu, 7 Sep 2017 02:21:01 +0000 (19:21 -0700)
commit9aadaa8c2c415ff0ee9cc2170ede277cb28108f9
treec32bc7eb4d09771eed200a8334b73a4d6e6752f5
parent64f009fda89e07067fe51552dd9b4f5f39f7fa56
Move the ADAPTER * out of pcap_t into the pcap-win32.c private data.

That avoids leaking packet.dll stuff into the generic code.

Have, instead, a HANDLE, and set it to the hFile member of the ADAPTER
structure, so we can return it from pcap_fileno().
pcap-int.h
pcap-new.c
pcap-win32.c
pcap.c