Ethereal-dev: [Ethereal-dev] how to get tree info?

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

From: Miha Jemec <m.jemec@xxxxxxxxxxx>
Date: Tue, 16 Jul 2002 16:57:48 +0200
Hi!
I would like to do the RTP (delay, jitter and voice quality) analysis on the 
packets captured with ethereal. I able to read the required information from 
the info column, but I would like to get them directly from the tree 
protocol. So if my code look's like following and the fdata points on the rtp 
packet:
...
wtap_seek_read(cf->wth, fdata->file_off, &cf->pseudo_header, cf->pd, 
fdata->cap_len, &err);
edt = epan_dissect_new(TRUE, FALSE);
epan_dissect_run(edt, &cf->pseudo_header, cf->pd, fdata, &cf->cinfo);
epan_dissect_fill_in_columns(edt);
...
I can get the udp source port with

srcport = edt->pi.srcport;

How would it be now possible the get for example the SSRC information from 
the RTP header?

ssrc = edt->tree....???? (I'm lost in that pointers world)

Thanks in advance for any suggestions and help!
Miha