From: Arjun Roy <arjun...@google.com> Provide CMSG and receive timestamp support to TCP receive zerocopy. Patch 1 refactors CMSG pending state for tcp_recvmsg() to avoid the use of magic numbers; patch 2 implements receive timestamp via CMSG support for receive zerocopy, and uses the constants added in patch 1.
v2: Fixes various stylistic comments and introduces a helper method to reduce indentation. Arjun Roy (2): tcp: Remove CMSG magic numbers for tcp_recvmsg(). tcp: Add receive timestamp support for receive zerocopy. include/uapi/linux/tcp.h | 4 ++ net/ipv4/tcp.c | 130 ++++++++++++++++++++++++++++----------- 2 files changed, 98 insertions(+), 36 deletions(-) -- 2.30.0.284.gd98b1dd5eaa7-goog