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 derfloh 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
Joined
Sep 3, 2002
Messages
7
Location
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.

Similar threads

Replies
0
Views
288
  • Locked
  • Question Question
Replies
2
Views
394
Replies
1
Views
292

Part and Inventory Search

Sponsor

Back
Top