|
Getting following error while make : error: implicit declaration of function 'tvb_get_guint16' error: implicit declaration of function 'tvb_get_guint24' What library i will have to include to fix this ? |
|
You are calling a function that does not exist, hence the error message. In tvbuff.c only What are you trying to do? Please post the part of your code, where you call those functions. Regards actually i was trying to read 16 bits or 24 bits , and i googled and found these functions used in some dissector by someone. Anyways i have fixed it now , i am using "tvb_get_ntohs" and "tvb_get_ntoh24". Anyways thanks for reply.
(10 Jun '12, 10:42)
yogeshg
Yes. For an 8-bit quantity, "big-endian" ("host byte order") and "little-endian" are the same, but for any integral quantity bigger than 8 bits, the byte order matters. If there were
(10 Jun '12, 15:02)
Guy Harris ♦♦
|
