libpcap and pcap_setdirection();
Hi everybody...
Ive been writing a program that allows me to grab all packets coming in and out of my machine.
Now, i need to be able to grab only the packets that come into my machine... ive done a bit of research and discovered that the function pcap_setdirection is exactly the thing i need, but it doesnt appear to be present in any of the libpcap libraries i have looked at.
Does anybody know of an equivalent/alternative function, or can anyone suggest a way of getting the pcap_setdirection function on my machine without messing up the current libraries!
Any advice would be great,
Thanks.