[patch] [rfc] Re: udhcpc eating too much cpu
Paul Fox
pgf at brightstareng.com
Thu Jan 17 13:49:35 UTC 2008
> + 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, pgf at brightstareng.com
More information about the busybox
mailing list