Hello Alex Volinsky,
I think that you can have a look on the structure pinfo which have a
packet-info type.
Have a look in Wireshark/epan/packet-info.h
Good luck!
Byebye.
2008/7/18 alex volinsky <[EMAIL PROTECTED]>:
> Hello everybody.
> I'm adding DOCSIS DEPI dissector to Wireshark. The packet format is
> Ethernet/ IPv4 / L2TPv3/ DEPI. To parse DEPI payload correctly, I need to
> know the packet length, which is obtained from IP header. One of the options
> is to set my data pointer 18 bytes back in the beginning of L2TPv3 header
> dissector, but I wonder if there is some function call to access a
> field ("ip.len")of IP dissector from another file ?
>
> Thanks everybody
>
> Alex Volinsky
>
>
> _______________________________________________
> Wireshark-dev mailing list
> [email protected]
> https://wireshark.org/mailman/listinfo/wireshark-dev
>
>
--
Cordialement,
Géraud Berthomier.
_______________________________________________
Wireshark-dev mailing list
[email protected]
https://wireshark.org/mailman/listinfo/wireshark-dev