Ethereal

[Ethereal-dev] Change the time format for a file with 500 000 frames...
Google
 
Web Ethereal.com

Home | Introduction | Documentation | Lists | FAQ | Development | Wiki | Bugs

Ethereal-dev: February 2003


It's unusable.

Do we have an iterator for  gtkclist?
in file.c
rather than
for each cfdata in cf->plist
	row = packet_list_find_row_from_data(fdata);
        if row
              set_format ....

something like
for each data in packet_list
       cfdata = data
       set_format ....

Would be better, no?

And optimize a little the loop (common case only one column with time):
   for (i = 0; i < cf->cinfo.num_cols; i++) {
        if (cf->cinfo.fmt_matx[i][COL_CLS_TIME]) {

Didier



Powered by MHonArc 2.6.10