Hi Barry,

can

/* Get reported length of buffer */
extern guint tvb_reported_length(tvbuff_t*);

from tvbuff.h give you the information you need?

HTH,
Martin



On 4/28/08, Barry Constantine <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hello All,
>
>
>
> I am not a developer per se, but wrote simple dissector following the
> excellent how to guide by Ken Thompson.
>
>
>
> My protocol does not have a length field and rides on top of IP.  It is a
> simplistic throughput protocol for test measurement purposes and we
> calculate payload length based off of the IP layer Length field.
>
>
>
> Can you point me to any resources how to interact with other dissectors?  In
> other words, my dissector needs to retrieve fields from the IP dissector.
> Since I do not have a software background, I am looking for simple examples.
>
>
>
> Thanks,
>
> Barry
>
>
> _______________________________________________
>  Wireshark-dev mailing list
>  Wireshark-dev@wireshark.org
> http://www.wireshark.org/mailman/listinfo/wireshark-dev
>
>
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to