Ethereal-dev: [Ethereal-dev] Statistics Counts

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "S Faizi" <sfaizi@xxxxxxx>
Date: Sun, 6 Jun 2004 16:58:28 -0700
Hi,
 
How are the statistics counts updated?
 
The following are defined:
 
      { "Total", &ld.counts.total, NULL, NULL, NULL },
      { "SCTP", &ld.counts.sctp, NULL, NULL, NULL },
      { "TCP", &ld.counts.tcp, NULL, NULL, NULL },
      { "UDP", &ld.counts.udp, NULL, NULL, NULL },
      { "ICMP", &ld.counts.icmp, NULL, NULL, NULL },
      { "ARP", &ld.counts.arp, NULL, NULL, NULL },
      { "OSPF", &ld.counts.ospf, NULL, NULL, NULL },
      { "GRE", &ld.counts.gre, NULL, NULL, NULL },
      { "NetBIOS", &ld.counts.netbios, NULL, NULL, NULL },
      { "IPX", &ld.counts.ipx, NULL, NULL, NULL },
      { "VINES", &ld.counts.vines, NULL, NULL, NULL },
      { "Other", &ld.counts.other, NULL, NULL, NULL }
 
I don't see how these are updated. I want to add my own custom count.
 
Regards,
Sal