Re: Fire Engine??

From: Jamie Lokier
Date: Wed Nov 26 2003 - 16:26:38 EST


David S. Miller wrote:
> > that are currently requesting timestamps, then we can dispense with
> > taking the timestamp.
>
> You can predict what the arguments will be for the user's
> recvmsg() system call at the time of packet reception? Wow,
> show me how :)

recvmsg() doesn't return timestamps until they are requested
using setsockopt(...SO_TIMESTAMP...).

See sock_recv_timestamp() in include/net/sock.h.

-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/