Subject: Re: Outbound pktgen pkts missed by tcpdump/pcap

From: Ben Greear <[email-masked]>
Date: Fri, 15 Sep 2006 10:22:38 -0700

[email-masked] wrote:
> 
> Kernels 2.6.13, 2.6.17.7 & 2.6.17.13...
> 
> I've been unable to capture outbound packets from local eth2,
> generated by pktgen using the just previous and latest releases
> of tcpdump & libpcap.  All incoming pktgen pkts are seen just fine.
> Pkts are UDP.
> 
> Any clues to save me some time fixing this, would greatly appreciated.

Pktgen sends below the packet capture hooks, so you cannot sniff out-going traffic.

If you changed the code to do a dev-queue-xmit instead of hard_start_xmit, it
might be captured then, but would probably decrease pktgen performance.

Ben

> 
> Thnx much.
> johnh
> .
> ===========================================================
> John Heil
> South Coast Software
> Custom firmware, device drivers and board bring up services
> Ph: 1-714-774-6952
> Fx: 1-714-774-7053
> www.sc-software.com
> email: [email-masked]
> ===========================================================
> 
> -
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to [email-masked]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

-- 
Ben Greear <[email-masked]>
Candela Technologies Inc  http://www.candelatech.com