On Jan 24, 2011, at 3:49 AM, roy hills wrote:
> Does libpcap allow me to get the interface IP address
Yes - use pcap_findalldevs() and look for the interface in question; note,
however, that you really mean "the interface's IP addresses", plural, as an
interface could have more than one IPv4 a
I maintain an application that uses libpcap to receive frames, and uses its own
link-specific functions to obtain interface details and send frames. I
currently support packet socket (Linux), BPF (BSD) and DLPI (Solaris).
I'd like to use libpcap to send as well as receive frames, and notice th