I want to find the place in the code where Wireshark takes the packets that arrive to the driver.
I guess this is done using libpcap
or some other API for capturing packet.
I looked at the source code but I didn't find any call to any function from libpcap
.
So I am searching for the place where Wireshark communicates with the pcap
interface or the driver directly. I want to know what functions are called (especially for Linux).
Thanks