Stripping layer 2 in pcap

from blog Marek's idea of the day, | ↗ original
Marek's Marek's totally not insanetotally not insane idea of the day idea of the day 29 January 201329 January 2013 Say you want to sniff TCP/IP packets on your network. That's pretty easy, right? Use Say you want to sniff TCP/IP packets on your network. That's pretty easy, right? Use libpcaplibpcap, receive packets from the network interface and we're done. But before you can extract the IP header from a received packet you need to strip , receive packets from the network interface and we're done. But before you can extract the IP header from a received packet you need to strip This is a short summary. ↗ Open original to view full content