> +    if (setsockopt(fd, SOL_SOCKET, SO_ATTACH_FILTER, &filter_prog,
 > +                            sizeof(filter_prog)) < 0)
 > +            bb_perror_msg_and_die("setsockopt");
 > +    DEBUG("attached filter to raw socket fdr %d", fd);

is this supported on all kernel versions that busybox currently
supports?  i simply don't know, having never used BPF, and i'm
wondering whether this needs to be configurable.

paul
=---------------------
 paul fox, [EMAIL PROTECTED]
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to