Wireshark-dev: [Wireshark-dev] (no subject)
From: "Martin Corraine (mcorrain)" <[email protected]>
Date: Mon, 23 Jun 2008 13:38:16 -0400
Hello all,
 
In the readme.developer, it states you shouldn't use "tvb_get_ntohl(tvb, offset);"  I tried using tvb_get_letohl (tvb, offset);"  However, it retrieves the data backwards thus retrieving the wrong value. Any suggestions?
 
For instance,
 
"00 00 00 06 " should be 6 in base 10 (I'm sure it should be read this way). However, I get 1610612736 with tvb_get_letohl() becasue it reads it "60 00 00 00"
 
 
Thanks,
martin