Re: [tcpdump-workers] pcap_inject displaying in pcap_loop

2007-05-31 Thread Eloy Paris
On Tue, May 29, 2007 at 07:53:20PM -0600, David Vos wrote: > I am using libpcap-0.9.5 on Mac OS 10.4.9. > > I have a pcap_loop() handler which displays the packets I receive. > > If I call pcap_inject(), then shortly after call pcap_loop(), the > injected packet is displayed by pcap_loop. > > I

[tcpdump-workers] pcap_inject displaying in pcap_loop

2007-05-29 Thread David Vos
I am using libpcap-0.9.5 on Mac OS 10.4.9. I have a pcap_loop() handler which displays the packets I receive. If I call pcap_inject(), then shortly after call pcap_loop(), the injected packet is displayed by pcap_loop. I tried to get around this by using pcap_setdirection(PCAP_D_IN), and while