Ethereal-dev: [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: "gilbert HOYEK" <gil_hoyek@xxxxxxxxxxx>
Date: Tue, 19 Apr 2005 19:17:36 +0300


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 .

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

Gilbert HOYEK


For Ethereal:

	1) Add a capture_mtp2() routine to epan/dissectors/packet-mtp2.c

2) Add to the switch statement in capture_loop_packet_cb() a case for WTAP_ENCAP_MTP2 to call capture_mtp2().

sorry if i had to send this message to tcpdump because it's the same topic .

I assume you mean here that you're also asking how to add support to tcpdump (if not, the topic isn't exactly the same, so the question should've been asked on ethereal-dev).

If so, you'd:

	1) write an MTP2 dissector (print-mtp2.c);

	2) add to the "printers[]" array an entry

		#ifdef DLT_MTP2
			{ mtp2_if_print,	DLT_MTP2 },
		#endif
-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/