aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/linux-headers/linux/socket.h
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2023-07-26 01:18:20 +0300
committerroot <root@qavm-2ed34686.qemu>2023-07-26 01:18:20 +0300
commitefba792089e8ed1cdee516e6fe39afa8ccd07570 (patch)
treefa8ff67117859064f23b758a7b333f8b2e3a0859 /contrib/libs/linux-headers/linux/socket.h
parent5c939e73d60a6ba835239eaad1edf65ec70c5f17 (diff)
downloadydb-efba792089e8ed1cdee516e6fe39afa8ccd07570.tar.gz
Update contrib/libs/linux-headers to 6.4.5
Diffstat (limited to 'contrib/libs/linux-headers/linux/socket.h')
-rw-r--r--contrib/libs/linux-headers/linux/socket.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/libs/linux-headers/linux/socket.h b/contrib/libs/linux-headers/linux/socket.h
index debcf26f6c2..89c227f3d4c 100644
--- a/contrib/libs/linux-headers/linux/socket.h
+++ b/contrib/libs/linux-headers/linux/socket.h
@@ -26,4 +26,13 @@ struct __kernel_sockaddr_storage {
};
};
+#define SOCK_SNDBUF_LOCK 1
+#define SOCK_RCVBUF_LOCK 2
+
+#define SOCK_BUF_LOCK_MASK (SOCK_SNDBUF_LOCK | SOCK_RCVBUF_LOCK)
+
+#define SOCK_TXREHASH_DEFAULT 255
+#define SOCK_TXREHASH_DISABLED 0
+#define SOCK_TXREHASH_ENABLED 1
+
#endif /* _LINUX_SOCKET_H */