Hi all, could i use the above function to create a tvb by passing a packet in hex string into its parameters? Thanks Regards, Eddie Choo asked 04 Aug '11, 00:49 eddie choo edited 04 Aug '11, 16:14 helloworld |
One Answer:
What do you mean by a "hex string"? Do you mean the ASCII hex representation of some 8 bit binary values, e.g. given the values 01, 66, 255, you have a string "0142FF"? If so, it all depends on what the consumer of the tvb is expecting. If the consumer is expecting a hex string, all will be OK, if the consumer is expecting the binary values that the hex string represents then things won't go so well. However if your "hex string" is in fact a pointer to the binary representation then you should be OK. An example would help to clarify your question. answered 04 Aug '11, 01:14 grahamb ♦ Hi Graham, I wanted to use the wireshark dissectors to dissect the packet in hex string format, which is something like this: Eddie Choo (04 Aug '11, 19:15) eddie choo |
duplicate: feed a packet in hex string format into a dissecctor
Hi helloworld, i was thinking that i should open a new question because i wanted to be more specified in getting response only for this
tvb_set_real_data
function.ThanksEddie Choo