1 /* 2 * This file is auto-generated. Modifications will be lost. 3 * 4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ 5 * for more information. 6 */ 7 #ifndef _UAPI_LINUX_SOCKET_H 8 #define _UAPI_LINUX_SOCKET_H 9 #include <bits/sockaddr_storage.h> 10 #define _K_SS_MAXSIZE 128 11 typedef unsigned short __kernel_sa_family_t; 12 #define SOCK_SNDBUF_LOCK 1 13 #define SOCK_RCVBUF_LOCK 2 14 #define SOCK_BUF_LOCK_MASK (SOCK_SNDBUF_LOCK | SOCK_RCVBUF_LOCK) 15 #define SOCK_TXREHASH_DEFAULT 255 16 #define SOCK_TXREHASH_DISABLED 0 17 #define SOCK_TXREHASH_ENABLED 1 18 #endif 19