All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] [patch] tcng tcsim_filter fix for tcsim_plot -t delay
@ 2003-04-28  8:42 Dimitry V. Ketov
  0 siblings, 0 replies; only message in thread
From: Dimitry V. Ketov @ 2003-04-28  8:42 UTC (permalink / raw)
  To: lartc

Recently I played with the tcng-9d and found that tcsim_filter script
does produce broken output that can't be used with tcsim_plot -t delay.
As far as I see, tcsim_plot use remaining part (after "packet length"
field) of input string to identify enqueued/dequeued packets, but
tcsim_filter does not produce it. So here is the pacth for tcsim_filter
to produce unique packet identifier in the last output field based on
simulated skbuff address (that _is unique_ for any enqueued packet in
the simulated qdisc).

Dimitry.

--- tcsim_filter.orig	Fri Sep 20 04:14:21 2002
+++ tcsim_filter	Sun Apr 27 16:14:03 2003
@@ -167,7 +167,7 @@
     }
     $stat{$id}++;
     if (!$count) {
-	print "$1 $id $4\n";
+	print "$1 $id $4 $3\n";
     }
 }

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-28  8:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-28  8:42 [LARTC] [patch] tcng tcsim_filter fix for tcsim_plot -t delay Dimitry V. Ketov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.