Hi Ali On 2016-02-01 at 11:39:38 +0100, Umair Ali <[email protected]> wrote: > Hello Tobias, > > I have read the read_pcap function. I am not expert in C just a beginner. I > have understand the basic flow from the read_pcap function but still not > fully. I am using the real time kernel Xenomai 3.0.1 and it uses the real > time Ethernet driver and hence the name of the Ethernet interface is 'rteth'. > If you read this link > https://xenomai.org/2014/08/porting-a-linux-application-to-xenomai-dual-kernel/ > which explains that how I can port the Linux application to the xenomai. As > I am not expert therefore I am asking you that can I port the netsniff-ng > tool to xenomai. I can ask the xenomai expert but you have build this tool > and you can easily understand therefore I asked you. Or can I send the packet > after 10 盜ecs in non-real time Linux. Can you provide me the separate code of > reading the pcap file so I can run on xenomai. Sorry for being asking so many > questions.
I'm not really familiar with Xenomai (or other RT Linux systems for that matter), so I can't really tell you what changes (if any) are needed to have netsniff-ng running on such a system. In case you see any changes necessary in order to support running netsniff-ng on Xenomai, feel free to send patches and/or change requests. As for the pcap reading code: It's all in the sources, so you can dig it up from there. If you have specific questions about it, I'll happily try to answer them. But I'm afraid, I won't be able to guide you step by step through the code nor provide you with example code (that goes beyond what's already in the netsniff-ng sources) specific to your use case. Regards Tobias -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
