See the new header by Wireshark???

13 views
Skip to first unread message

B Question_answer

unread,
May 12, 2009, 10:09:07 AM5/12/09
to ns-3-...@googlegroups.com

Hi all

I am creating (modifying) a new header of the data link layer and also of IP layer (in NS3). I want to see the data and other fields (of headers) by using Wireshark but it's impossible now, because it only captures the existed headers such as: Point to point, 802.11, Ethernet, IPv4... So does anyone know how to add a new protocol (header structure) to Wireshark so that it is able to capture the packets (data and fields of headers) returned by NS3?

Thank you,



Tom Henderson

unread,
May 12, 2009, 11:48:23 PM5/12/09
to ns-3-...@googlegroups.com
B Question_answer wrote:
>
> Hi all
>
> I am creating (modifying) a new header of the data link layer and also of IP layer (in NS3). I want to see the data and other fields (of headers) by using Wireshark but it's impossible now, because it only captures the existed headers such as: Point to point, 802.11, Ethernet, IPv4... So does anyone know how to add a new protocol (header structure) to Wireshark so that it is able to capture the packets (data and fields of headers) returned by NS3?
>

We've done this on another project, to parse the fields of the HIP (RFC
5201) experimental protocol. See, for instance, this patch to wireshark
source:
http://superb-west.dl.sourceforge.net/sourceforge/openhip/wireshark-0.99.5-hip-base05.patch
It is fairly straightforward.

Tom

Reply all
Reply to author
Forward
0 new messages