This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Gigamon trailer checksum field

0

Hello,

I'm trying to build a packet with gigamon trailer in Scapy for the purpose of testing. I've successfully created gigamon header before. However gigamon trailer uses 2 byte checksum field and I cannot understand how to calculate it. I see that Wireshark verifies this field. Does anyone know the algorithm for computing gigamon trailer checksum?

Thank you, Alex

asked 01 Feb '17, 02:58

Alex%20Os's gravatar image

Alex Os
6113
accept rate: 0%


One Answer:

3

Have a look at packet_gmhdr.c, in particular the function dissect_gmtrailer().

answered 01 Feb '17, 05:00

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

Thank you!

(01 Feb '17, 06:43) Alex Os

If an answer has solved your issue, please accept the answer for the benefit of other users by clicking the checkmark icon next to the answer. Please read the FAQ for more information.

(01 Feb '17, 08:35) Jaap ♦