Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 1 | /* Generated by ./xlat/gen.sh from ./xlat/sockoptions.in; do not edit. */ |
| 2 | |
| 3 | static const struct xlat sockoptions[] = { |
| 4 | #if defined(SO_ACCEPTCONN) || (defined(HAVE_DECL_SO_ACCEPTCONN) && HAVE_DECL_SO_ACCEPTCONN) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 5 | XLAT(SO_ACCEPTCONN), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 6 | #endif |
| 7 | #if defined(SO_ALLRAW) || (defined(HAVE_DECL_SO_ALLRAW) && HAVE_DECL_SO_ALLRAW) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 8 | XLAT(SO_ALLRAW), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 9 | #endif |
| 10 | #if defined(SO_ATTACH_FILTER) || (defined(HAVE_DECL_SO_ATTACH_FILTER) && HAVE_DECL_SO_ATTACH_FILTER) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 11 | XLAT(SO_ATTACH_FILTER), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 12 | #endif |
| 13 | #if defined(SO_BINDTODEVICE) || (defined(HAVE_DECL_SO_BINDTODEVICE) && HAVE_DECL_SO_BINDTODEVICE) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 14 | XLAT(SO_BINDTODEVICE), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 15 | #endif |
| 16 | #if defined(SO_BROADCAST) || (defined(HAVE_DECL_SO_BROADCAST) && HAVE_DECL_SO_BROADCAST) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 17 | XLAT(SO_BROADCAST), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 18 | #endif |
| 19 | #if defined(SO_BSDCOMPAT) || (defined(HAVE_DECL_SO_BSDCOMPAT) && HAVE_DECL_SO_BSDCOMPAT) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 20 | XLAT(SO_BSDCOMPAT), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 21 | #endif |
| 22 | #if defined(SO_DEBUG) || (defined(HAVE_DECL_SO_DEBUG) && HAVE_DECL_SO_DEBUG) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 23 | XLAT(SO_DEBUG), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 24 | #endif |
| 25 | #if defined(SO_DETACH_FILTER) || (defined(HAVE_DECL_SO_DETACH_FILTER) && HAVE_DECL_SO_DETACH_FILTER) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 26 | 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 Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 30 | #endif |
| 31 | #if defined(SO_DONTROUTE) || (defined(HAVE_DECL_SO_DONTROUTE) && HAVE_DECL_SO_DONTROUTE) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 32 | XLAT(SO_DONTROUTE), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 33 | #endif |
| 34 | #if defined(SO_ERROR) || (defined(HAVE_DECL_SO_ERROR) && HAVE_DECL_SO_ERROR) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 35 | XLAT(SO_ERROR), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 36 | #endif |
| 37 | #if defined(SO_ICS) || (defined(HAVE_DECL_SO_ICS) && HAVE_DECL_SO_ICS) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 38 | XLAT(SO_ICS), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 39 | #endif |
| 40 | #if defined(SO_IMASOCKET) || (defined(HAVE_DECL_SO_IMASOCKET) && HAVE_DECL_SO_IMASOCKET) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 41 | XLAT(SO_IMASOCKET), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 42 | #endif |
| 43 | #if defined(SO_KEEPALIVE) || (defined(HAVE_DECL_SO_KEEPALIVE) && HAVE_DECL_SO_KEEPALIVE) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 44 | XLAT(SO_KEEPALIVE), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 45 | #endif |
| 46 | #if defined(SO_LINGER) || (defined(HAVE_DECL_SO_LINGER) && HAVE_DECL_SO_LINGER) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 47 | XLAT(SO_LINGER), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 48 | #endif |
| 49 | #if defined(SO_LISTENING) || (defined(HAVE_DECL_SO_LISTENING) && HAVE_DECL_SO_LISTENING) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 50 | XLAT(SO_LISTENING), |
| 51 | #endif |
| 52 | #if defined(SO_MARK) || (defined(HAVE_DECL_SO_MARK) && HAVE_DECL_SO_MARK) |
| 53 | XLAT(SO_MARK), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 54 | #endif |
| 55 | #if defined(SO_MGMT) || (defined(HAVE_DECL_SO_MGMT) && HAVE_DECL_SO_MGMT) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 56 | XLAT(SO_MGMT), |
| 57 | #endif |
| 58 | #if defined(SO_NOFCS) || (defined(HAVE_DECL_SO_NOFCS) && HAVE_DECL_SO_NOFCS) |
| 59 | XLAT(SO_NOFCS), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 60 | #endif |
| 61 | #if defined(SO_NO_CHECK) || (defined(HAVE_DECL_SO_NO_CHECK) && HAVE_DECL_SO_NO_CHECK) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 62 | XLAT(SO_NO_CHECK), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 63 | #endif |
| 64 | #if defined(SO_OOBINLINE) || (defined(HAVE_DECL_SO_OOBINLINE) && HAVE_DECL_SO_OOBINLINE) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 65 | XLAT(SO_OOBINLINE), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 66 | #endif |
| 67 | #if defined(SO_ORDREL) || (defined(HAVE_DECL_SO_ORDREL) && HAVE_DECL_SO_ORDREL) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 68 | XLAT(SO_ORDREL), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 69 | #endif |
| 70 | #if defined(SO_PARALLELSVR) || (defined(HAVE_DECL_SO_PARALLELSVR) && HAVE_DECL_SO_PARALLELSVR) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 71 | XLAT(SO_PARALLELSVR), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 72 | #endif |
| 73 | #if defined(SO_PASSCRED) || (defined(HAVE_DECL_SO_PASSCRED) && HAVE_DECL_SO_PASSCRED) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 74 | XLAT(SO_PASSCRED), |
| 75 | #endif |
| 76 | #if defined(SO_PASSSEC) || (defined(HAVE_DECL_SO_PASSSEC) && HAVE_DECL_SO_PASSSEC) |
| 77 | XLAT(SO_PASSSEC), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 78 | #endif |
| 79 | #if defined(SO_PEERCRED) || (defined(HAVE_DECL_SO_PEERCRED) && HAVE_DECL_SO_PEERCRED) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 80 | XLAT(SO_PEERCRED), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 81 | #endif |
| 82 | #if defined(SO_PEERNAME) || (defined(HAVE_DECL_SO_PEERNAME) && HAVE_DECL_SO_PEERNAME) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 83 | XLAT(SO_PEERNAME), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 84 | #endif |
| 85 | #if defined(SO_PEERSEC) || (defined(HAVE_DECL_SO_PEERSEC) && HAVE_DECL_SO_PEERSEC) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 86 | XLAT(SO_PEERSEC), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 87 | #endif |
| 88 | #if defined(SO_PRIORITY) || (defined(HAVE_DECL_SO_PRIORITY) && HAVE_DECL_SO_PRIORITY) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 89 | XLAT(SO_PRIORITY), |
| 90 | #endif |
| 91 | #if defined(SO_PROTOCOL) || (defined(HAVE_DECL_SO_PROTOCOL) && HAVE_DECL_SO_PROTOCOL) |
| 92 | XLAT(SO_PROTOCOL), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 93 | #endif |
| 94 | #if defined(SO_PROTOTYPE) || (defined(HAVE_DECL_SO_PROTOTYPE) && HAVE_DECL_SO_PROTOTYPE) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 95 | XLAT(SO_PROTOTYPE), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 96 | #endif |
| 97 | #if defined(SO_RCVBUF) || (defined(HAVE_DECL_SO_RCVBUF) && HAVE_DECL_SO_RCVBUF) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 98 | XLAT(SO_RCVBUF), |
| 99 | #endif |
| 100 | #if defined(SO_RCVBUFFORCE) || (defined(HAVE_DECL_SO_RCVBUFFORCE) && HAVE_DECL_SO_RCVBUFFORCE) |
| 101 | XLAT(SO_RCVBUFFORCE), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 102 | #endif |
| 103 | #if defined(SO_RCVLOWAT) || (defined(HAVE_DECL_SO_RCVLOWAT) && HAVE_DECL_SO_RCVLOWAT) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 104 | XLAT(SO_RCVLOWAT), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 105 | #endif |
| 106 | #if defined(SO_RCVTIMEO) || (defined(HAVE_DECL_SO_RCVTIMEO) && HAVE_DECL_SO_RCVTIMEO) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 107 | XLAT(SO_RCVTIMEO), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 108 | #endif |
| 109 | #if defined(SO_RDWR) || (defined(HAVE_DECL_SO_RDWR) && HAVE_DECL_SO_RDWR) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 110 | XLAT(SO_RDWR), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 111 | #endif |
| 112 | #if defined(SO_REUSEADDR) || (defined(HAVE_DECL_SO_REUSEADDR) && HAVE_DECL_SO_REUSEADDR) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 113 | XLAT(SO_REUSEADDR), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 114 | #endif |
| 115 | #if defined(SO_REUSEPORT) || (defined(HAVE_DECL_SO_REUSEPORT) && HAVE_DECL_SO_REUSEPORT) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 116 | XLAT(SO_REUSEPORT), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 117 | #endif |
| 118 | #if defined(SO_SECURITY_AUTHENTICATION) || (defined(HAVE_DECL_SO_SECURITY_AUTHENTICATION) && HAVE_DECL_SO_SECURITY_AUTHENTICATION) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 119 | XLAT(SO_SECURITY_AUTHENTICATION), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 120 | #endif |
| 121 | #if defined(SO_SECURITY_ENCRYPTION_NETWORK) || (defined(HAVE_DECL_SO_SECURITY_ENCRYPTION_NETWORK) && HAVE_DECL_SO_SECURITY_ENCRYPTION_NETWORK) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 122 | XLAT(SO_SECURITY_ENCRYPTION_NETWORK), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 123 | #endif |
| 124 | #if defined(SO_SECURITY_ENCRYPTION_TRANSPORT) || (defined(HAVE_DECL_SO_SECURITY_ENCRYPTION_TRANSPORT) && HAVE_DECL_SO_SECURITY_ENCRYPTION_TRANSPORT) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 125 | XLAT(SO_SECURITY_ENCRYPTION_TRANSPORT), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 126 | #endif |
| 127 | #if defined(SO_SEMA) || (defined(HAVE_DECL_SO_SEMA) && HAVE_DECL_SO_SEMA) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 128 | XLAT(SO_SEMA), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 129 | #endif |
| 130 | #if defined(SO_SNDBUF) || (defined(HAVE_DECL_SO_SNDBUF) && HAVE_DECL_SO_SNDBUF) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 131 | XLAT(SO_SNDBUF), |
| 132 | #endif |
| 133 | #if defined(SO_SNDBUFFORCE) || (defined(HAVE_DECL_SO_SNDBUFFORCE) && HAVE_DECL_SO_SNDBUFFORCE) |
| 134 | XLAT(SO_SNDBUFFORCE), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 135 | #endif |
| 136 | #if defined(SO_SNDLOWAT) || (defined(HAVE_DECL_SO_SNDLOWAT) && HAVE_DECL_SO_SNDLOWAT) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 137 | XLAT(SO_SNDLOWAT), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 138 | #endif |
| 139 | #if defined(SO_SNDTIMEO) || (defined(HAVE_DECL_SO_SNDTIMEO) && HAVE_DECL_SO_SNDTIMEO) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 140 | XLAT(SO_SNDTIMEO), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 141 | #endif |
| 142 | #if defined(SO_TIMESTAMP) || (defined(HAVE_DECL_SO_TIMESTAMP) && HAVE_DECL_SO_TIMESTAMP) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 143 | 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 Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 150 | #endif |
| 151 | #if defined(SO_TYPE) || (defined(HAVE_DECL_SO_TYPE) && HAVE_DECL_SO_TYPE) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 152 | XLAT(SO_TYPE), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 153 | #endif |
| 154 | #if defined(SO_USELOOPBACK) || (defined(HAVE_DECL_SO_USELOOPBACK) && HAVE_DECL_SO_USELOOPBACK) |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 155 | XLAT(SO_USELOOPBACK), |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 156 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame^] | 157 | XLAT_END |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 158 | }; |