RE: [netsniff-ng] Replay pcap file on Xenomai kernel in real time

2016-02-01 Thread Umair Ali
. Thanks & Br Ali -Original Message- From: Tobias Klauser [mailto:tklau...@distanz.ch] Sent: January-27-16 5:02 PM To: Umair Ali Cc: netsniff-ng@googlegroups.com Subject: Re: [netsniff-ng] Replay pcap file on Xenomai kernel in real time On 2016-01-27 at 15:15:01 +0100, Umair Ali <

Re: [netsniff-ng] Replay pcap file on Xenomai kernel in real time

2016-02-01 Thread Daniel Borkmann
On 02/01/2016 04:51 PM, Tobias Klauser wrote: On 2016-02-01 at 15:38:28 +0100, Umair Ali wrote: [...] Sorry, but reviewing a random dump of code (that doesn't even compile) goes beyond the scope of what I'd consider support/help for netsniff-ng. +1 Ali, I find your

Re: [netsniff-ng] Replay pcap file on Xenomai kernel in real time

2016-02-01 Thread Tobias Klauser
On 2016-02-01 at 15:38:28 +0100, Umair Ali wrote: > Thanks a lot for the help offer. I can understand what you want to say. > > I need your feedback on the code which I have written. The flow of the code > is as follows > - Reader the pcap file. the pcap file contained the

Re: [netsniff-ng] Replay pcap file on Xenomai kernel in real time

2016-01-27 Thread Tobias Klauser
Hi Ali On 2016-01-27 at 13:01:55 +0100, Umair Ali wrote: > Hello there, > > I am working on the project of replaying the pcap files in the real time over > the network. For this purpose I am using the real time Linux kernel 'Xenomai > v 3.0.1'. My idea is to write a code in

RE: [netsniff-ng] Replay pcap file on Xenomai kernel in real time

2016-01-27 Thread Umair Ali
packet every 5micro secs or less. Thanks in advance BR Ali -Original Message- From: Tobias Klauser [mailto:tklau...@distanz.ch] Sent: January-27-16 2:36 PM To: netsniff-ng@googlegroups.com Cc: Umair Ali Subject: Re: [netsniff-ng] Replay pcap file on Xenomai kernel in real time

Re: [netsniff-ng] Replay pcap file on Xenomai kernel in real time

2016-01-27 Thread Tobias Klauser
On 2016-01-27 at 15:15:01 +0100, Umair Ali wrote: > Hi Tobias, > > Thanks for the quick reply. I have read pcap_mm.c file but cannot understand > the flow of the code. Can you explain me the flow that once the pcap file is > open using mmap then how it is further processed to