PDA

View Full Version : net/if_dl, Raw Sockets



azelez
September 26th, 2008, 09:15 AM
How do I install the <net/if_dl> library

I am trying to open a socket to use as a sniffer, and I have a problem to use the sockaddr_dl to receive only from 1 ETH interfce the data. Instead I am receiving all the data from all interfaces. How do I get this library isntalled.

Thanks to anybody that can help.

Adrian.