Ethereal-dev: Re: [Ethereal-dev] Re: [tcpdump-workers] new media support(Intel/Septel)

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Tue, 19 Apr 2005 12:48:47 -0700
gilbert HOYEK wrote:

ok but still i did not get what this routine (capture_mtp2)is used for because libpcap is in charge of the capture and ethreal contains the dissectors for ss7 protocols .

It's for doing a very quick protocol analysis sufficient only to increment the counts of packets in the capture window.

Unless you decide to add counters for various SS7 protocols, all the routine would need to do would be to increment the "other" member of the count structure. Perhaps the switch statement in "capture_loop_back_cb()" should have a "default" case which just increments ld->counts->other.

And whether if i have to add similar routines for packet-mtp3.c , packet-tcap.c ......and other ss7 protocols

You'd do that only if you want packet counts for those packet types in the capture window (if the only thing that runs on top of MTP2 is MTP3, there'd be no point in separate MTP2 and MTP3 counters).