On Mon, Aug 29, 2016 at 1:59 PM, D Nguyen <snoop007...@gmail.com> wrote: > Hello, > > I am new to netsniff-ng. > > I would like to use netsniff-ng to capture in my program but I also want to > access to each captured frame. > > I want to dissect each captured frame, e.g. find the Ethernet overhead, IP > overhead, etc… > > Is there a sample code or tutorial on how to start? I looking to something > similar to http://www.tcpdump.org/pcap.html but for netsniff-ng. > > > Thanks, > > -Duong > > -- > You received this message because you are subscribed to the Google Groups > "netsniff-ng" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to netsniff-ng+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout.
Hi Duong, So as I understand you want to use netsniff-ng capture/dump feature from the application, so you can fork netsniff-ng and modify it for you needs. By default netsniff-ng captures packets in pcap format. May be in the future it will be possible to make netsniff-ng like a library to use it from the application. Regards, Vadim Kochan -- You received this message because you are subscribed to the Google Groups "netsniff-ng" group. To unsubscribe from this group and stop receiving emails from it, send an email to netsniff-ng+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.