Re: Netlink overrun / increase rvcbuf

From: Fabien Ribes (fabien.ribes@cgey.com)
Date: Wed Jan 16 2002 - 10:37:22 EST


Hello,

> > Unfortunately, setsockopt is not supported on netlink sockets in kernel
> > 2.4.5 ...
>
> That's news! :-)
>
> setsockopt is supported on all the sockets.

Sorry if I goofed, I stated such after reading a bit of af_netlink.c:
struct proto_ops netlink_ops = {
        family: PF_NETLINK,
        ....
        setsockopt: sock_no_setsockopt,
        getsockopt: sock_no_getsockopt,
        sendmsg: netlink_sendmsg,
        recvmsg: netlink_recvmsg,
        mmap: sock_no_mmap,
        sendpage: sock_no_sendpage,
};
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html



This archive was generated by hypermail 2b29 : Wed Jan 23 2002 - 21:01:12 EST