Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pcap ethernet address question

Status
Not open for further replies.

9anth3r

ISP
Sep 3, 2002
7
US
Ok, hopefully i didn't ask this question in the wrong forum, but if i did im sorry.

I went through all of the pcap.h examples at tcpdump.org i also went through the example sniffer.c program, but none of it really explains what i need.

How do extract the src and dst mac address of a packet ? Any links, or examples would be greatly appreciated.

I have an example of what i have so far if anyone wants to see it.
Thanks
Florian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top