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 - : 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/