This library uses libpcap to capture packets/read them from a pcap file. When you sniff using libpcap you just get a pointer to the packet and the packet size, you then have to parse the packet appropriately to do something useful with it.
What libtins adds is the ability to parse and assemble packets easily. Parsing is automatic, so you won't need to be checking protocol fields to determine how to parse it: it will all be handled by the library.
[+] [-] VinzO|10 years ago|reply
[+] [-] pea-tear|10 years ago|reply
What libtins adds is the ability to parse and assemble packets easily. Parsing is automatic, so you won't need to be checking protocol fields to determine how to parse it: it will all be handled by the library.
[+] [-] rjammala|10 years ago|reply
http://libtins.github.io/benchmark/
I wonder if someone compared it's performance to gopacket