-2

I need to figure out the inner workings of the function pcap_dump (https://linux.die.net/man/3/pcap_dump) however I cannot seem to find the source code for it anywhere.

Does anyone know where I can find this (and possibly the starting line of the function's code, in case I have just missed it in the correct file)? Thanks!

1 Answers1

2

Looks like it's from LIBPCAP library by "The Tcpdump Group". Sources of pcap_dump are here on Github.

Renat
  • 7,718
  • 2
  • 20
  • 34