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:[EMAIL PROTECTED]?body=unsubscribe
