Re: [tcpdump-workers] getting ethernet address for interface libpcap

2006-07-29 Thread Guy Harris
Aaron Turner wrote: Sorry if this is a little offtopic, but I'm in the process of ripping out libnet from my code and replacing it with libpcap since it can now inject frames. One thing I'm stuck on though is trying to figure out a reliable, cross platform way to determine the MAC address of th

[tcpdump-workers] getting ethernet address for interface libpcap is bound to?

2006-07-29 Thread Aaron Turner
Sorry if this is a little offtopic, but I'm in the process of ripping out libnet from my code and replacing it with libpcap since it can now inject frames. One thing I'm stuck on though is trying to figure out a reliable, cross platform way to determine the MAC address of the interface that a li