blob: 27890a422a092f6d6e09fd75dd1137e119620217 [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
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 */
Ben Cheng655a7c02013-10-16 16:09:24 -07007#ifndef _UAPI_LINUX_SOCKET_H
8#define _UAPI_LINUX_SOCKET_H
Elliott Hughes5850f6f2023-11-29 11:18:49 -08009#include <bits/sockaddr_storage.h>
Ben Cheng655a7c02013-10-16 16:09:24 -070010#define _K_SS_MAXSIZE 128
Ben Cheng655a7c02013-10-16 16:09:24 -070011typedef unsigned short __kernel_sa_family_t;
Christopher Ferris2abfa9e2021-11-01 16:26:06 -070012#define SOCK_SNDBUF_LOCK 1
13#define SOCK_RCVBUF_LOCK 2
14#define SOCK_BUF_LOCK_MASK (SOCK_SNDBUF_LOCK | SOCK_RCVBUF_LOCK)
Christopher Ferris80ae69d2022-08-02 16:32:21 -070015#define SOCK_TXREHASH_DEFAULT 255
Christopher Ferris10a76e62022-06-08 13:31:52 -070016#define SOCK_TXREHASH_DISABLED 0
17#define SOCK_TXREHASH_ENABLED 1
Ben Cheng655a7c02013-10-16 16:09:24 -070018#endif