Re: [tcpdump-workers] Influence of pcap_open_live parameters on

2011-08-17 Thread Doktor Bernd
ers] Influence of pcap_open_live parameters on > pcap_sendpacket > From: g...@alum.mit.edu > Date: Tue, 16 Aug 2011 09:34:37 -0700 > To: tcpdump-workers@lists.tcpdump.org > > > On Aug 16, 2011, at 5:10 AM, Doktor Bernd wrote: > > > Two questions: > > - Do the t

Re: [tcpdump-workers] Influence of pcap_open_live parameters on pcap_sendpacket

2011-08-16 Thread Guy Harris
On Aug 16, 2011, at 5:10 AM, Doktor Bernd wrote: > Two questions: > - Do the two pcap_open_live() calls influence the hardware in anyway and have > side effects on each other or are they bound to the handle and I can rely on > the parameters I give to be set? For LAN hardware, the "promisc" ar

Re: [tcpdump-workers] Influence of pcap_open_live parameters on pcap_sendpacket

2011-08-16 Thread Aaron Turner
On Tue, Aug 16, 2011 at 5:10 AM, Doktor Bernd wrote: > > Hi, > > I am trying to optimize my program by adjusting the parameters of > pcap_open_live(). > > In my program, I am opening the same interface twice and use one handle in a > thread for capturing packets and the other handle in a second