Re: [tcpdump-workers] self-made pcap_t struct

2009-05-10 Thread Michael Richardson
Please see uml_netjig from the Openswan tree: testing/utils/uml_netjig. http://git.openswan.org/ (but the browse has a problem) http://github.com/mcr/bluerose/tree/60f2d2b0dd22f9b7fc0e7255d77be8abec030b7a/testing/utils/uml_netjig I tried multiple times over the years to get this program (which i

Re: [tcpdump-workers] self-made pcap_t struct

2009-05-10 Thread Guy Harris
On May 9, 2009, at 12:42 PM, Julien Iguchi-Cartigny wrote: The best solution is to use libpcap but It doesn't seem easy. My first solution was to create my own instance of pcap_t and change function pointers to my own functions. But on most distribution pcap- int.h is not available (this fi

[tcpdump-workers] self-made pcap_t struct

2009-05-09 Thread Julien Iguchi-Cartigny
Hello, I'm trying a little experiment called uml_dump which connect to uml_switch (used to relay messages between user-mode linux instances) with the goal to dump packet for ethereal. It would be interesting for educational purposes: students can see packets between "emulated" linux. I alrea