lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sun, Feb 21, 2010 at 1:00 AM, Peter Smith <psmith135@gmail.com> wrote:
> Thanks, guys, for your responses. I spent two days surfing the net to find a
> working sample but now I see it may be not an easy task. It makes it more
> difficult for me since I am not a programmer but rather a network engineer
> with some scripting skills...

Peter, have you asked on the wireshark mailing list?

I'd try that before wasting days surfing the net. I've found them
helpful and responsive in the past.

Your questions don't have anything to do with lua. The data you want
is not the userdata, you are
getting 4 bytes because the userdata contains a pointer to a wireshart struct.

I've written a few wireshark dissectors, but haven't managed to do
anything interesting without
reading the source, and definitely don't have the APIs memorized. I
know this is bad news if you don't read C. If you do read C, its not
hard to find the source, which lists explicitly all methods available
on a userdata, and from there its pretty easy.

Cheers,
Sam