Ethereal-dev: [Ethereal-dev] Re: [tcpdump-workers] new media support(Intel/Septel)
ok but still i did not get what this routine (capture_mtp2)is used for
because libpcap is in charge in 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.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/