Skip to contentSkip to conversation

Outbound pktgen pkts missed by tcpdump/pcap

DISCUSSION [email protected] 2 participants 2 messages Sep 15, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

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 protected]
===========================================================

#1 lore raw
Quoted 9 lines · [email protected] 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

Quoted 19 lines

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 protected]
===========================================================

-
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com