tcpdump mailing list archives

question


From: "subramoni padmanabhan" <smoni77 () hotmail com>
Date: Fri, 11 Oct 2002 01:52:31 -0400

Can anyone tell me how to access the first two bytes(the type field) of a DLT_LINUX_SLL header.I am capturing packets on "any" device. For example if I want the 5th byteof the ethernet header I use ether[4]. In a similar way, how do I access the first 2 bytes of the link layer header DLT_LINUX_SLL? Thanks.



Subramoni Padmanabhan
G-126, 700 woodland avenue
Lexington, Kentucky 40508
Phone : 859 323 9405


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe


Current thread: