blob: 02cf29e83347a10b5f41e062a9c6c2ae0cd99a63 [file] [log] [blame]
Raghu Gandham82fa43f2012-03-27 11:37:17 -07001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _ASM_SOCKET_H
20#define _ASM_SOCKET_H
21#include <asm/sockios.h>
22#define SOL_SOCKET 0xffff
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080024#define SO_DEBUG 0x0001
25#define SO_REUSEADDR 0x0004
26#define SO_KEEPALIVE 0x0008
27#define SO_DONTROUTE 0x0010
Raghu Gandham82fa43f2012-03-27 11:37:17 -070028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080029#define SO_BROADCAST 0x0020
30#define SO_LINGER 0x0080
31#define SO_OOBINLINE 0x0100
32#define SO_TYPE 0x1008
Raghu Gandham82fa43f2012-03-27 11:37:17 -070033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080034#define SO_STYLE SO_TYPE
35#define SO_ERROR 0x1007
36#define SO_SNDBUF 0x1001
37#define SO_RCVBUF 0x1002
Raghu Gandham82fa43f2012-03-27 11:37:17 -070038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080039#define SO_SNDLOWAT 0x1003
40#define SO_RCVLOWAT 0x1004
41#define SO_SNDTIMEO 0x1005
42#define SO_RCVTIMEO 0x1006
Raghu Gandham82fa43f2012-03-27 11:37:17 -070043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44#define SO_ACCEPTCONN 0x1009
Elliott Hughesc95eb572013-01-29 18:15:55 -080045#define SO_PROTOCOL 0x1028
46#define SO_DOMAIN 0x1029
Raghu Gandham82fa43f2012-03-27 11:37:17 -070047#define SO_NO_CHECK 11
Elliott Hughes86ec05a2012-09-11 19:03:02 -070048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Raghu Gandham82fa43f2012-03-27 11:37:17 -070049#define SO_PRIORITY 12
50#define SO_BSDCOMPAT 14
Raghu Gandham82fa43f2012-03-27 11:37:17 -070051#define SO_PASSCRED 17
52#define SO_PEERCRED 18
Elliott Hughes86ec05a2012-09-11 19:03:02 -070053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Raghu Gandham82fa43f2012-03-27 11:37:17 -070054#define SO_SECURITY_AUTHENTICATION 22
55#define SO_SECURITY_ENCRYPTION_TRANSPORT 23
Raghu Gandham82fa43f2012-03-27 11:37:17 -070056#define SO_SECURITY_ENCRYPTION_NETWORK 24
57#define SO_BINDTODEVICE 25
Elliott Hughes86ec05a2012-09-11 19:03:02 -070058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Raghu Gandham82fa43f2012-03-27 11:37:17 -070059#define SO_ATTACH_FILTER 26
60#define SO_DETACH_FILTER 27
Raghu Gandham82fa43f2012-03-27 11:37:17 -070061#define SO_PEERNAME 28
62#define SO_TIMESTAMP 29
Elliott Hughes86ec05a2012-09-11 19:03:02 -070063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Raghu Gandham82fa43f2012-03-27 11:37:17 -070064#define SCM_TIMESTAMP SO_TIMESTAMP
65#define SO_PEERSEC 30
Raghu Gandham82fa43f2012-03-27 11:37:17 -070066#define SO_SNDBUFFORCE 31
67#define SO_RCVBUFFORCE 33
Elliott Hughes86ec05a2012-09-11 19:03:02 -070068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Raghu Gandham82fa43f2012-03-27 11:37:17 -070069#define SO_PASSSEC 34
70#define SO_TIMESTAMPNS 35
Raghu Gandham82fa43f2012-03-27 11:37:17 -070071#define SCM_TIMESTAMPNS SO_TIMESTAMPNS
72#define SO_MARK 36
Elliott Hughes86ec05a2012-09-11 19:03:02 -070073/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74#define SO_TIMESTAMPING 37
75#define SCM_TIMESTAMPING SO_TIMESTAMPING
76#define SO_RXQ_OVFL 40
77#define SO_WIFI_STATUS 41
78/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79#define SCM_WIFI_STATUS SO_WIFI_STATUS
Raghu Gandham82fa43f2012-03-27 11:37:17 -070080#endif