On 11/1/05, Ian McDonald <[EMAIL PROTECTED]> wrote:
> > 3) When I try to use DCCP with the above filter, tfrc.tfrcrx_rtt grows
> > to some very large values (e.g. 44936) even when I setsockopt(fd,
> > SOL_SOCKET, SO_SNDTIMEO,..) to 400.
>
> I don't recall that we do anything with that option in DCCP...
This is on the SOL_SOCKET level, i.e. here:
./net/core/sock.c
int sock_setsockopt(struct socket *sock, int level, int optname,
char __user *optval, int optlen)
.
.
.
case SO_SNDTIMEO:
ret = sock_set_timeout(&sk->sk_sndtimeo,
optval, optlen);
break;
And then in dccp_sendmsg:
timeo = sock_sndtimeo(sk, noblock)
So yes, we use SO_SNDTIMEO in DCCP land too.
- Arnaldo
-
To unsubscribe from this list: send the line "unsubscribe dccp" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html