122851890Sopenharmony_ci/* 222851890Sopenharmony_ci * This header was generated from the Linux kernel headers by update_headers.py, 322851890Sopenharmony_ci * to provide necessary information from kernel to userspace, such as constants, 422851890Sopenharmony_ci * structures, and macros, and thus, contains no copyrightable information. 522851890Sopenharmony_ci */ 622851890Sopenharmony_ci#ifndef __ASM_GENERIC_SOCKET_H 722851890Sopenharmony_ci#define __ASM_GENERIC_SOCKET_H 822851890Sopenharmony_ci#include <asm/sockios.h> 922851890Sopenharmony_ci#define SOL_SOCKET 1 1022851890Sopenharmony_ci#define SO_DEBUG 1 1122851890Sopenharmony_ci#define SO_REUSEADDR 2 1222851890Sopenharmony_ci#define SO_TYPE 3 1322851890Sopenharmony_ci#define SO_ERROR 4 1422851890Sopenharmony_ci#define SO_DONTROUTE 5 1522851890Sopenharmony_ci#define SO_BROADCAST 6 1622851890Sopenharmony_ci#define SO_SNDBUF 7 1722851890Sopenharmony_ci#define SO_RCVBUF 8 1822851890Sopenharmony_ci#define SO_SNDBUFFORCE 32 1922851890Sopenharmony_ci#define SO_RCVBUFFORCE 33 2022851890Sopenharmony_ci#define SO_KEEPALIVE 9 2122851890Sopenharmony_ci#define SO_OOBINLINE 10 2222851890Sopenharmony_ci#define SO_NO_CHECK 11 2322851890Sopenharmony_ci#define SO_PRIORITY 12 2422851890Sopenharmony_ci#define SO_LINGER 13 2522851890Sopenharmony_ci#define SO_BSDCOMPAT 14 2622851890Sopenharmony_ci#define SO_REUSEPORT 15 2722851890Sopenharmony_ci#ifndef SO_PASSCRED 2822851890Sopenharmony_ci#define SO_PASSCRED 16 2922851890Sopenharmony_ci#define SO_PEERCRED 17 3022851890Sopenharmony_ci#define SO_RCVLOWAT 18 3122851890Sopenharmony_ci#define SO_SNDLOWAT 19 3222851890Sopenharmony_ci#define SO_RCVTIMEO 20 3322851890Sopenharmony_ci#define SO_SNDTIMEO 21 3422851890Sopenharmony_ci#endif 3522851890Sopenharmony_ci#define SO_SECURITY_AUTHENTICATION 22 3622851890Sopenharmony_ci#define SO_SECURITY_ENCRYPTION_TRANSPORT 23 3722851890Sopenharmony_ci#define SO_SECURITY_ENCRYPTION_NETWORK 24 3822851890Sopenharmony_ci#define SO_BINDTODEVICE 25 3922851890Sopenharmony_ci#define SO_ATTACH_FILTER 26 4022851890Sopenharmony_ci#define SO_DETACH_FILTER 27 4122851890Sopenharmony_ci#define SO_GET_FILTER SO_ATTACH_FILTER 4222851890Sopenharmony_ci#define SO_PEERNAME 28 4322851890Sopenharmony_ci#define SO_TIMESTAMP 29 4422851890Sopenharmony_ci#define SCM_TIMESTAMP SO_TIMESTAMP 4522851890Sopenharmony_ci#define SO_ACCEPTCONN 30 4622851890Sopenharmony_ci#define SO_PEERSEC 31 4722851890Sopenharmony_ci#define SO_PASSSEC 34 4822851890Sopenharmony_ci#define SO_TIMESTAMPNS 35 4922851890Sopenharmony_ci#define SCM_TIMESTAMPNS SO_TIMESTAMPNS 5022851890Sopenharmony_ci#define SO_MARK 36 5122851890Sopenharmony_ci#define SO_TIMESTAMPING 37 5222851890Sopenharmony_ci#define SCM_TIMESTAMPING SO_TIMESTAMPING 5322851890Sopenharmony_ci#define SO_PROTOCOL 38 5422851890Sopenharmony_ci#define SO_DOMAIN 39 5522851890Sopenharmony_ci#define SO_RXQ_OVFL 40 5622851890Sopenharmony_ci#define SO_WIFI_STATUS 41 5722851890Sopenharmony_ci#define SCM_WIFI_STATUS SO_WIFI_STATUS 5822851890Sopenharmony_ci#define SO_PEEK_OFF 42 5922851890Sopenharmony_ci#define SO_NOFCS 43 6022851890Sopenharmony_ci#define SO_LOCK_FILTER 44 6122851890Sopenharmony_ci#define SO_SELECT_ERR_QUEUE 45 6222851890Sopenharmony_ci#define SO_BUSY_POLL 46 6322851890Sopenharmony_ci#define SO_MAX_PACING_RATE 47 6422851890Sopenharmony_ci#define SO_BPF_EXTENSIONS 48 6522851890Sopenharmony_ci#define SO_INCOMING_CPU 49 6622851890Sopenharmony_ci#define SO_ATTACH_BPF 50 6722851890Sopenharmony_ci#define SO_DETACH_BPF SO_DETACH_FILTER 6822851890Sopenharmony_ci#define SO_ATTACH_REUSEPORT_CBPF 51 6922851890Sopenharmony_ci#define SO_ATTACH_REUSEPORT_EBPF 52 7022851890Sopenharmony_ci#define SO_CNX_ADVICE 53 7122851890Sopenharmony_ci#define SCM_TIMESTAMPING_OPT_STATS 54 7222851890Sopenharmony_ci#define SO_MEMINFO 55 7322851890Sopenharmony_ci#define SO_INCOMING_NAPI_ID 56 7422851890Sopenharmony_ci#define SO_COOKIE 57 7522851890Sopenharmony_ci#define SCM_TIMESTAMPING_PKTINFO 58 7622851890Sopenharmony_ci#define SO_PEERGROUPS 59 7722851890Sopenharmony_ci#define SO_ZEROCOPY 60 7822851890Sopenharmony_ci#define SO_TXTIME 61 7922851890Sopenharmony_ci#define SCM_TXTIME SO_TXTIME 8022851890Sopenharmony_ci#endif 81