tcng tcsim_filter fix for tcsim_plot -t delay
PATCH 1/1 tcng tcsim_filter fix for tcsim_plot -t delay
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 renamed from tcsim_filter.orig +1 -1
@@ -167,7 +167,7 @@ } $stat{$id}++; if (!$count) { - print "$1 $id $4\n"; + print "$1 $id $4 $3\n"; } }
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/