Hi, I am a little new to writing a dissector using lua. So, please bare an amateur. I am trying to implement a dissector for one of our projects. Since my host order(currently) is little Endian, I am using methods like "tree:add_le()", "tvbuf:range(offset,2):le_uint()", etc. However, i would want to run a command, which is equivalent to "ntohl()"( method used in C/C++) at the beginning itself, which would eliminate any errors with byte ordering during dissection. Please help. Thanks, Spark asked 12 Dec '16, 01:48 spark edited 12 Dec '16, 23:00 |
One Answer:
You should be probably just use answered 04 Jan '17, 06:42 JeffMorriss ♦ |
Thanks Jeff!