blob: 75eaea3388ab54f7d50e5e0cf13e0864e9a83b28 [file] [log] [blame]
Elliott Hughes82728372014-06-06 22:49:31 -07001/* Generated by ./xlat/gen.sh from ./xlat/sockoptions.in; do not edit. */
2
3static const struct xlat sockoptions[] = {
4#if defined(SO_ACCEPTCONN) || (defined(HAVE_DECL_SO_ACCEPTCONN) && HAVE_DECL_SO_ACCEPTCONN)
Elliott Hughes0328d0a2015-03-18 11:18:43 -07005 XLAT(SO_ACCEPTCONN),
Elliott Hughes82728372014-06-06 22:49:31 -07006#endif
7#if defined(SO_ALLRAW) || (defined(HAVE_DECL_SO_ALLRAW) && HAVE_DECL_SO_ALLRAW)
Elliott Hughes0328d0a2015-03-18 11:18:43 -07008 XLAT(SO_ALLRAW),
Elliott Hughes82728372014-06-06 22:49:31 -07009#endif
10#if defined(SO_ATTACH_FILTER) || (defined(HAVE_DECL_SO_ATTACH_FILTER) && HAVE_DECL_SO_ATTACH_FILTER)
Elliott Hughes0328d0a2015-03-18 11:18:43 -070011 XLAT(SO_ATTACH_FILTER),
Elliott Hughes82728372014-06-06 22:49:31 -070012#endif
13#if defined(SO_BINDTODEVICE) || (defined(HAVE_DECL_SO_BINDTODEVICE) && HAVE_DECL_SO_BINDTODEVICE)
Elliott Hughes0328d0a2015-03-18 11:18:43 -070014 XLAT(SO_BINDTODEVICE),
Elliott Hughes82728372014-06-06 22:49:31 -070015#endif
16#if defined(SO_BROADCAST) || (defined(HAVE_DECL_SO_BROADCAST) && HAVE_DECL_SO_BROADCAST)
Elliott Hughes0328d0a2015-03-18 11:18:43 -070017 XLAT(SO_BROADCAST),
Elliott Hughes82728372014-06-06 22:49:31 -070018#endif
19#if defined(SO_BSDCOMPAT) || (defined(HAVE_DECL_SO_BSDCOMPAT) && HAVE_DECL_SO_BSDCOMPAT)
Elliott Hughes0328d0a2015-03-18 11:18:43 -070020 XLAT(SO_BSDCOMPAT),
Elliott Hughes82728372014-06-06 22:49:31 -070021#endif
22#if defined(SO_DEBUG) || (defined(HAVE_DECL_SO_DEBUG) && HAVE_DECL_SO_DEBUG)
Elliott Hughes0328d0a2015-03-18 11:18:43 -070023 XLAT(SO_DEBUG),
Elliott Hughes82728372014-06-06 22:49:31 -070024#endif
25#if defined(SO_DETACH_FILTER) || (defined(HAVE_DECL_SO_DETACH_FILTER) && HAVE_DECL_SO_DETACH_FILTER)
Elliott Hughes0328d0a2015-03-18 11:18:43 -070026 XLAT(SO_DETACH_FILTER),
27#endif
28#if defined(SO_DOMAIN) || (defined(HAVE_DECL_SO_DOMAIN) && HAVE_DECL_SO_DOMAIN)
29 XLAT(SO_DOMAIN),
Elliott Hughes82728372014-06-06 22:49:31 -070030#endif
31#if defined(SO_DONTROUTE) || (defined(HAVE_DECL_SO_DONTROUTE) && HAVE_DECL_SO_DONTROUTE)
Elliott Hughes0328d0a2015-03-18 11:18:43 -070032 XLAT(SO_DONTROUTE),
Elliott Hughes82728372014-06-06 22:49:31 -070033#endif
34#if defined(SO_ERROR) || (defined(HAVE_DECL_SO_ERROR) && HAVE_DECL_SO_ERROR)
Elliott Hughes0328d0a2015-03-18 11:18:43 -070035 XLAT(SO_ERROR),
Elliott Hughes82728372014-06-06 22:49:31 -070036#endif
37#if defined(SO_ICS) || (defined(HAVE_DECL_SO_ICS) && HAVE_DECL_SO_ICS)
Elliott Hughes0328d0a2015-03-18 11:18:43 -070038 XLAT(SO_ICS),
Elliott Hughes82728372014-06-06 22:49:31 -070039#endif
40#if defined(SO_IMASOCKET) || (defined(HAVE_DECL_SO_IMASOCKET) && HAVE_DECL_SO_IMASOCKET)
Elliott Hughes0328d0a2015-03-18 11:18:43 -070041 XLAT(SO_IMASOCKET),
Elliott Hughes82728372014-06-06 22:49:31 -070042#endif
43#if defined(SO_KEEPALIVE) || (defined(HAVE_DECL_SO_KEEPALIVE) && HAVE_DECL_SO_KEEPALIVE)
Elliott Hughes0328d0a2015-03-18 11:18:43 -070044 XLAT(SO_KEEPALIVE),
Elliott Hughes82728372014-06-06 22:49:31 -070045#endif
46#if defined(SO_LINGER) || (defined(HAVE_DECL_SO_LINGER) && HAVE_DECL_SO_LINGER)
Elliott Hughes0328d0a2015-03-18 11:18:43 -070047 XLAT(SO_LINGER),
Elliott Hughes82728372014-06-06 22:49:31 -070048#endif
49#if defined(SO_LISTENING) || (defined(HAVE_DECL_SO_LISTENING) && HAVE_DECL_SO_LISTENING)
Elliott Hughes0328d0a2015-03-18 11:18:43 -070050 XLAT(SO_LISTENING),
51#endif
52#if defined(SO_MARK) || (defined(HAVE_DECL_SO_MARK) && HAVE_DECL_SO_MARK)
53 XLAT(SO_MARK),
Elliott Hughes82728372014-06-06 22:49:31 -070054#endif
55#if defined(SO_MGMT) || (defined(HAVE_DECL_SO_MGMT) && HAVE_DECL_SO_MGMT)
Elliott Hughes0328d0a2015-03-18 11:18:43 -070056 XLAT(SO_MGMT),
57#endif
58#if defined(SO_NOFCS) || (defined(HAVE_DECL_SO_NOFCS) && HAVE_DECL_SO_NOFCS)
59 XLAT(SO_NOFCS),
Elliott Hughes82728372014-06-06 22:49:31 -070060#endif
61#if defined(SO_NO_CHECK) || (defined(HAVE_DECL_SO_NO_CHECK) && HAVE_DECL_SO_NO_CHECK)
Elliott Hughes0328d0a2015-03-18 11:18:43 -070062 XLAT(SO_NO_CHECK),
Elliott Hughes82728372014-06-06 22:49:31 -070063#endif
64#if defined(SO_OOBINLINE) || (defined(HAVE_DECL_SO_OOBINLINE) && HAVE_DECL_SO_OOBINLINE)
Elliott Hughes0328d0a2015-03-18 11:18:43 -070065 XLAT(SO_OOBINLINE),
Elliott Hughes82728372014-06-06 22:49:31 -070066#endif
67#if defined(SO_ORDREL) || (defined(HAVE_DECL_SO_ORDREL) && HAVE_DECL_SO_ORDREL)
Elliott Hughes0328d0a2015-03-18 11:18:43 -070068 XLAT(SO_ORDREL),
Elliott Hughes82728372014-06-06 22:49:31 -070069#endif
70#if defined(SO_PARALLELSVR) || (defined(HAVE_DECL_SO_PARALLELSVR) && HAVE_DECL_SO_PARALLELSVR)
Elliott Hughes0328d0a2015-03-18 11:18:43 -070071 XLAT(SO_PARALLELSVR),
Elliott Hughes82728372014-06-06 22:49:31 -070072#endif
73#if defined(SO_PASSCRED) || (defined(HAVE_DECL_SO_PASSCRED) && HAVE_DECL_SO_PASSCRED)
Elliott Hughes0328d0a2015-03-18 11:18:43 -070074 XLAT(SO_PASSCRED),
75#endif
76#if defined(SO_PASSSEC) || (defined(HAVE_DECL_SO_PASSSEC) && HAVE_DECL_SO_PASSSEC)
77 XLAT(SO_PASSSEC),
Elliott Hughes82728372014-06-06 22:49:31 -070078#endif
79#if defined(SO_PEERCRED) || (defined(HAVE_DECL_SO_PEERCRED) && HAVE_DECL_SO_PEERCRED)
Elliott Hughes0328d0a2015-03-18 11:18:43 -070080 XLAT(SO_PEERCRED),
Elliott Hughes82728372014-06-06 22:49:31 -070081#endif
82#if defined(SO_PEERNAME) || (defined(HAVE_DECL_SO_PEERNAME) && HAVE_DECL_SO_PEERNAME)
Elliott Hughes0328d0a2015-03-18 11:18:43 -070083 XLAT(SO_PEERNAME),
Elliott Hughes82728372014-06-06 22:49:31 -070084#endif
85#if defined(SO_PEERSEC) || (defined(HAVE_DECL_SO_PEERSEC) && HAVE_DECL_SO_PEERSEC)
Elliott Hughes0328d0a2015-03-18 11:18:43 -070086 XLAT(SO_PEERSEC),
Elliott Hughes82728372014-06-06 22:49:31 -070087#endif
88#if defined(SO_PRIORITY) || (defined(HAVE_DECL_SO_PRIORITY) && HAVE_DECL_SO_PRIORITY)
Elliott Hughes0328d0a2015-03-18 11:18:43 -070089 XLAT(SO_PRIORITY),
90#endif
91#if defined(SO_PROTOCOL) || (defined(HAVE_DECL_SO_PROTOCOL) && HAVE_DECL_SO_PROTOCOL)
92 XLAT(SO_PROTOCOL),
Elliott Hughes82728372014-06-06 22:49:31 -070093#endif
94#if defined(SO_PROTOTYPE) || (defined(HAVE_DECL_SO_PROTOTYPE) && HAVE_DECL_SO_PROTOTYPE)
Elliott Hughes0328d0a2015-03-18 11:18:43 -070095 XLAT(SO_PROTOTYPE),
Elliott Hughes82728372014-06-06 22:49:31 -070096#endif
97#if defined(SO_RCVBUF) || (defined(HAVE_DECL_SO_RCVBUF) && HAVE_DECL_SO_RCVBUF)
Elliott Hughes0328d0a2015-03-18 11:18:43 -070098 XLAT(SO_RCVBUF),
99#endif
100#if defined(SO_RCVBUFFORCE) || (defined(HAVE_DECL_SO_RCVBUFFORCE) && HAVE_DECL_SO_RCVBUFFORCE)
101 XLAT(SO_RCVBUFFORCE),
Elliott Hughes82728372014-06-06 22:49:31 -0700102#endif
103#if defined(SO_RCVLOWAT) || (defined(HAVE_DECL_SO_RCVLOWAT) && HAVE_DECL_SO_RCVLOWAT)
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700104 XLAT(SO_RCVLOWAT),
Elliott Hughes82728372014-06-06 22:49:31 -0700105#endif
106#if defined(SO_RCVTIMEO) || (defined(HAVE_DECL_SO_RCVTIMEO) && HAVE_DECL_SO_RCVTIMEO)
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700107 XLAT(SO_RCVTIMEO),
Elliott Hughes82728372014-06-06 22:49:31 -0700108#endif
109#if defined(SO_RDWR) || (defined(HAVE_DECL_SO_RDWR) && HAVE_DECL_SO_RDWR)
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700110 XLAT(SO_RDWR),
Elliott Hughes82728372014-06-06 22:49:31 -0700111#endif
112#if defined(SO_REUSEADDR) || (defined(HAVE_DECL_SO_REUSEADDR) && HAVE_DECL_SO_REUSEADDR)
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700113 XLAT(SO_REUSEADDR),
Elliott Hughes82728372014-06-06 22:49:31 -0700114#endif
115#if defined(SO_REUSEPORT) || (defined(HAVE_DECL_SO_REUSEPORT) && HAVE_DECL_SO_REUSEPORT)
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700116 XLAT(SO_REUSEPORT),
Elliott Hughes82728372014-06-06 22:49:31 -0700117#endif
118#if defined(SO_SECURITY_AUTHENTICATION) || (defined(HAVE_DECL_SO_SECURITY_AUTHENTICATION) && HAVE_DECL_SO_SECURITY_AUTHENTICATION)
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700119 XLAT(SO_SECURITY_AUTHENTICATION),
Elliott Hughes82728372014-06-06 22:49:31 -0700120#endif
121#if defined(SO_SECURITY_ENCRYPTION_NETWORK) || (defined(HAVE_DECL_SO_SECURITY_ENCRYPTION_NETWORK) && HAVE_DECL_SO_SECURITY_ENCRYPTION_NETWORK)
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700122 XLAT(SO_SECURITY_ENCRYPTION_NETWORK),
Elliott Hughes82728372014-06-06 22:49:31 -0700123#endif
124#if defined(SO_SECURITY_ENCRYPTION_TRANSPORT) || (defined(HAVE_DECL_SO_SECURITY_ENCRYPTION_TRANSPORT) && HAVE_DECL_SO_SECURITY_ENCRYPTION_TRANSPORT)
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700125 XLAT(SO_SECURITY_ENCRYPTION_TRANSPORT),
Elliott Hughes82728372014-06-06 22:49:31 -0700126#endif
127#if defined(SO_SEMA) || (defined(HAVE_DECL_SO_SEMA) && HAVE_DECL_SO_SEMA)
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700128 XLAT(SO_SEMA),
Elliott Hughes82728372014-06-06 22:49:31 -0700129#endif
130#if defined(SO_SNDBUF) || (defined(HAVE_DECL_SO_SNDBUF) && HAVE_DECL_SO_SNDBUF)
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700131 XLAT(SO_SNDBUF),
132#endif
133#if defined(SO_SNDBUFFORCE) || (defined(HAVE_DECL_SO_SNDBUFFORCE) && HAVE_DECL_SO_SNDBUFFORCE)
134 XLAT(SO_SNDBUFFORCE),
Elliott Hughes82728372014-06-06 22:49:31 -0700135#endif
136#if defined(SO_SNDLOWAT) || (defined(HAVE_DECL_SO_SNDLOWAT) && HAVE_DECL_SO_SNDLOWAT)
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700137 XLAT(SO_SNDLOWAT),
Elliott Hughes82728372014-06-06 22:49:31 -0700138#endif
139#if defined(SO_SNDTIMEO) || (defined(HAVE_DECL_SO_SNDTIMEO) && HAVE_DECL_SO_SNDTIMEO)
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700140 XLAT(SO_SNDTIMEO),
Elliott Hughes82728372014-06-06 22:49:31 -0700141#endif
142#if defined(SO_TIMESTAMP) || (defined(HAVE_DECL_SO_TIMESTAMP) && HAVE_DECL_SO_TIMESTAMP)
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700143 XLAT(SO_TIMESTAMP),
144#endif
145#if defined(SO_TIMESTAMPING) || (defined(HAVE_DECL_SO_TIMESTAMPING) && HAVE_DECL_SO_TIMESTAMPING)
146 XLAT(SO_TIMESTAMPING),
147#endif
148#if defined(SO_TIMESTAMPNS) || (defined(HAVE_DECL_SO_TIMESTAMPNS) && HAVE_DECL_SO_TIMESTAMPNS)
149 XLAT(SO_TIMESTAMPNS),
Elliott Hughes82728372014-06-06 22:49:31 -0700150#endif
151#if defined(SO_TYPE) || (defined(HAVE_DECL_SO_TYPE) && HAVE_DECL_SO_TYPE)
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700152 XLAT(SO_TYPE),
Elliott Hughes82728372014-06-06 22:49:31 -0700153#endif
154#if defined(SO_USELOOPBACK) || (defined(HAVE_DECL_SO_USELOOPBACK) && HAVE_DECL_SO_USELOOPBACK)
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700155 XLAT(SO_USELOOPBACK),
Elliott Hughes82728372014-06-06 22:49:31 -0700156#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700157 XLAT_END
Elliott Hughes82728372014-06-06 22:49:31 -0700158};