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
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