Hello!
> if ((i=setsockopt(sock, SOL_SOCKET, PACKET_ADD_MEMBERSHIP,
if ((i=setsockopt(sock, SOL_PACKET, PACKET_ADD_MEMBERSHIP,
After this it will work provided hardware supports filtering.
If it does not, use BPF.
Alexey
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:31 EST