]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: set and get per-socket timestamp
authorAndrey Vagin <avagin@openvz.org>
Mon, 11 Feb 2013 05:50:18 +0000 (05:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Feb 2013 18:22:15 +0000 (13:22 -0500)
commit7d1ce1f2477c35dd6d86fc1633ec28f9824aac5b
tree55b7f545fea634d5cde59e21de1470761b7190a7
parent2b187f8871790f633b91218209931e778a67ac20
tcp: set and get per-socket timestamp

A timestamp can be set, only if a socket is in the repair mode.

This patch adds a new socket option TCP_TIMESTAMP, which allows to
get and set current tcp times stamp.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Cc: James Morris <jmorris@namei.org>
Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Cc: Patrick McHardy <kaber@trash.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/tcp.h
net/ipv4/tcp.c