1 /* Generated by ./xlat/gen.sh from ./xlat/sock_ip_options.in; do not edit. */ 2 3 #include "gcc_compat.h" 4 #include "static_assert.h" 5 6 7 #ifndef XLAT_MACROS_ONLY 8 9 # ifdef IN_MPERS 10 11 # error static const struct xlat sock_ip_options in mpers mode 12 13 # else 14 15 static 16 const struct xlat sock_ip_options[] = { 17 #if defined(IP_TOS) || (defined(HAVE_DECL_IP_TOS) && HAVE_DECL_IP_TOS) 18 XLAT(IP_TOS), 19 #endif 20 #if defined(IP_TTL) || (defined(HAVE_DECL_IP_TTL) && HAVE_DECL_IP_TTL) 21 XLAT(IP_TTL), 22 #endif 23 #if defined(IP_HDRINCL) || (defined(HAVE_DECL_IP_HDRINCL) && HAVE_DECL_IP_HDRINCL) 24 XLAT(IP_HDRINCL), 25 #endif 26 #if defined(IP_OPTIONS) || (defined(HAVE_DECL_IP_OPTIONS) && HAVE_DECL_IP_OPTIONS) 27 XLAT(IP_OPTIONS), 28 #endif 29 #if defined(IP_ROUTER_ALERT) || (defined(HAVE_DECL_IP_ROUTER_ALERT) && HAVE_DECL_IP_ROUTER_ALERT) 30 XLAT(IP_ROUTER_ALERT), 31 #endif 32 #if defined(IP_RECVOPTIONS) || (defined(HAVE_DECL_IP_RECVOPTIONS) && HAVE_DECL_IP_RECVOPTIONS) 33 XLAT(IP_RECVOPTIONS), 34 #endif 35 #if defined(IP_RECVOPTS) || (defined(HAVE_DECL_IP_RECVOPTS) && HAVE_DECL_IP_RECVOPTS) 36 XLAT(IP_RECVOPTS), 37 #endif 38 #if defined(IP_RETOPTS) || (defined(HAVE_DECL_IP_RETOPTS) && HAVE_DECL_IP_RETOPTS) 39 XLAT(IP_RETOPTS), 40 #endif 41 #if defined(IP_RECVRETOPTS) || (defined(HAVE_DECL_IP_RECVRETOPTS) && HAVE_DECL_IP_RECVRETOPTS) 42 XLAT(IP_RECVRETOPTS), 43 #endif 44 #if defined(IP_RECVDSTADDR) || (defined(HAVE_DECL_IP_RECVDSTADDR) && HAVE_DECL_IP_RECVDSTADDR) 45 XLAT(IP_RECVDSTADDR), 46 #endif 47 #if defined(IP_PKTINFO) || (defined(HAVE_DECL_IP_PKTINFO) && HAVE_DECL_IP_PKTINFO) 48 XLAT(IP_PKTINFO), 49 #endif 50 #if defined(IP_PKTOPTIONS) || (defined(HAVE_DECL_IP_PKTOPTIONS) && HAVE_DECL_IP_PKTOPTIONS) 51 XLAT(IP_PKTOPTIONS), 52 #endif 53 #if defined(IP_MTU_DISCOVER) || (defined(HAVE_DECL_IP_MTU_DISCOVER) && HAVE_DECL_IP_MTU_DISCOVER) 54 XLAT(IP_MTU_DISCOVER), 55 #endif 56 #if defined(IP_RECVERR) || (defined(HAVE_DECL_IP_RECVERR) && HAVE_DECL_IP_RECVERR) 57 XLAT(IP_RECVERR), 58 #endif 59 #if defined(IP_RECVTTL) || (defined(HAVE_DECL_IP_RECVTTL) && HAVE_DECL_IP_RECVTTL) 60 XLAT(IP_RECVTTL), 61 #endif 62 #if defined(IP_RECVTOS) || (defined(HAVE_DECL_IP_RECVTOS) && HAVE_DECL_IP_RECVTOS) 63 XLAT(IP_RECVTOS), 64 #endif 65 #if defined(IP_MTU) || (defined(HAVE_DECL_IP_MTU) && HAVE_DECL_IP_MTU) 66 XLAT(IP_MTU), 67 #endif 68 #if defined(IP_MULTICAST_IF) || (defined(HAVE_DECL_IP_MULTICAST_IF) && HAVE_DECL_IP_MULTICAST_IF) 69 XLAT(IP_MULTICAST_IF), 70 #endif 71 #if defined(IP_MULTICAST_TTL) || (defined(HAVE_DECL_IP_MULTICAST_TTL) && HAVE_DECL_IP_MULTICAST_TTL) 72 XLAT(IP_MULTICAST_TTL), 73 #endif 74 #if defined(IP_MULTICAST_LOOP) || (defined(HAVE_DECL_IP_MULTICAST_LOOP) && HAVE_DECL_IP_MULTICAST_LOOP) 75 XLAT(IP_MULTICAST_LOOP), 76 #endif 77 #if defined(IP_ADD_MEMBERSHIP) || (defined(HAVE_DECL_IP_ADD_MEMBERSHIP) && HAVE_DECL_IP_ADD_MEMBERSHIP) 78 XLAT(IP_ADD_MEMBERSHIP), 79 #endif 80 #if defined(IP_DROP_MEMBERSHIP) || (defined(HAVE_DECL_IP_DROP_MEMBERSHIP) && HAVE_DECL_IP_DROP_MEMBERSHIP) 81 XLAT(IP_DROP_MEMBERSHIP), 82 #endif 83 #if defined(IP_BROADCAST_IF) || (defined(HAVE_DECL_IP_BROADCAST_IF) && HAVE_DECL_IP_BROADCAST_IF) 84 XLAT(IP_BROADCAST_IF), 85 #endif 86 #if defined(IP_RECVIFINDEX) || (defined(HAVE_DECL_IP_RECVIFINDEX) && HAVE_DECL_IP_RECVIFINDEX) 87 XLAT(IP_RECVIFINDEX), 88 #endif 89 #if defined(IP_MSFILTER) || (defined(HAVE_DECL_IP_MSFILTER) && HAVE_DECL_IP_MSFILTER) 90 XLAT(IP_MSFILTER), 91 #endif 92 #if defined(IP_FREEBIND) || (defined(HAVE_DECL_IP_FREEBIND) && HAVE_DECL_IP_FREEBIND) 93 XLAT(IP_FREEBIND), 94 #endif 95 #if defined(IP_IPSEC_POLICY) || (defined(HAVE_DECL_IP_IPSEC_POLICY) && HAVE_DECL_IP_IPSEC_POLICY) 96 XLAT(IP_IPSEC_POLICY), 97 #endif 98 #if defined(IP_XFRM_POLICY) || (defined(HAVE_DECL_IP_XFRM_POLICY) && HAVE_DECL_IP_XFRM_POLICY) 99 XLAT(IP_XFRM_POLICY), 100 #endif 101 #if defined(IP_PASSSEC) || (defined(HAVE_DECL_IP_PASSSEC) && HAVE_DECL_IP_PASSSEC) 102 XLAT(IP_PASSSEC), 103 #endif 104 #if defined(IP_TRANSPARENT) || (defined(HAVE_DECL_IP_TRANSPARENT) && HAVE_DECL_IP_TRANSPARENT) 105 XLAT(IP_TRANSPARENT), 106 #endif 107 #if defined(IP_ORIGDSTADDR) || (defined(HAVE_DECL_IP_ORIGDSTADDR) && HAVE_DECL_IP_ORIGDSTADDR) 108 XLAT(IP_ORIGDSTADDR), 109 #endif 110 #if defined(IP_RECVORIGDSTADDR) || (defined(HAVE_DECL_IP_RECVORIGDSTADDR) && HAVE_DECL_IP_RECVORIGDSTADDR) 111 XLAT(IP_RECVORIGDSTADDR), 112 #endif 113 #if defined(IP_MINTTL) || (defined(HAVE_DECL_IP_MINTTL) && HAVE_DECL_IP_MINTTL) 114 XLAT(IP_MINTTL), 115 #endif 116 #if defined(IP_NODEFRAG) || (defined(HAVE_DECL_IP_NODEFRAG) && HAVE_DECL_IP_NODEFRAG) 117 XLAT(IP_NODEFRAG), 118 #endif 119 #if defined(IP_CHECKSUM) || (defined(HAVE_DECL_IP_CHECKSUM) && HAVE_DECL_IP_CHECKSUM) 120 XLAT(IP_CHECKSUM), 121 #endif 122 #if defined(IP_BIND_ADDRESS_NO_PORT) || (defined(HAVE_DECL_IP_BIND_ADDRESS_NO_PORT) && HAVE_DECL_IP_BIND_ADDRESS_NO_PORT) 123 XLAT(IP_BIND_ADDRESS_NO_PORT), 124 #endif 125 #if defined(IP_RECVFRAGSIZE) || (defined(HAVE_DECL_IP_RECVFRAGSIZE) && HAVE_DECL_IP_RECVFRAGSIZE) 126 XLAT(IP_RECVFRAGSIZE), 127 #endif 128 #if defined(IP_UNBLOCK_SOURCE) || (defined(HAVE_DECL_IP_UNBLOCK_SOURCE) && HAVE_DECL_IP_UNBLOCK_SOURCE) 129 XLAT(IP_UNBLOCK_SOURCE), 130 #endif 131 #if defined(IP_BLOCK_SOURCE) || (defined(HAVE_DECL_IP_BLOCK_SOURCE) && HAVE_DECL_IP_BLOCK_SOURCE) 132 XLAT(IP_BLOCK_SOURCE), 133 #endif 134 #if defined(IP_ADD_SOURCE_MEMBERSHIP) || (defined(HAVE_DECL_IP_ADD_SOURCE_MEMBERSHIP) && HAVE_DECL_IP_ADD_SOURCE_MEMBERSHIP) 135 XLAT(IP_ADD_SOURCE_MEMBERSHIP), 136 #endif 137 #if defined(IP_DROP_SOURCE_MEMBERSHIP) || (defined(HAVE_DECL_IP_DROP_SOURCE_MEMBERSHIP) && HAVE_DECL_IP_DROP_SOURCE_MEMBERSHIP) 138 XLAT(IP_DROP_SOURCE_MEMBERSHIP), 139 #endif 140 #if defined(MCAST_JOIN_GROUP) || (defined(HAVE_DECL_MCAST_JOIN_GROUP) && HAVE_DECL_MCAST_JOIN_GROUP) 141 XLAT(MCAST_JOIN_GROUP), 142 #endif 143 #if defined(MCAST_BLOCK_SOURCE) || (defined(HAVE_DECL_MCAST_BLOCK_SOURCE) && HAVE_DECL_MCAST_BLOCK_SOURCE) 144 XLAT(MCAST_BLOCK_SOURCE), 145 #endif 146 #if defined(MCAST_UNBLOCK_SOURCE) || (defined(HAVE_DECL_MCAST_UNBLOCK_SOURCE) && HAVE_DECL_MCAST_UNBLOCK_SOURCE) 147 XLAT(MCAST_UNBLOCK_SOURCE), 148 #endif 149 #if defined(MCAST_LEAVE_GROUP) || (defined(HAVE_DECL_MCAST_LEAVE_GROUP) && HAVE_DECL_MCAST_LEAVE_GROUP) 150 XLAT(MCAST_LEAVE_GROUP), 151 #endif 152 #if defined(MCAST_JOIN_SOURCE_GROUP) || (defined(HAVE_DECL_MCAST_JOIN_SOURCE_GROUP) && HAVE_DECL_MCAST_JOIN_SOURCE_GROUP) 153 XLAT(MCAST_JOIN_SOURCE_GROUP), 154 #endif 155 #if defined(MCAST_LEAVE_SOURCE_GROUP) || (defined(HAVE_DECL_MCAST_LEAVE_SOURCE_GROUP) && HAVE_DECL_MCAST_LEAVE_SOURCE_GROUP) 156 XLAT(MCAST_LEAVE_SOURCE_GROUP), 157 #endif 158 #if defined(MCAST_MSFILTER) || (defined(HAVE_DECL_MCAST_MSFILTER) && HAVE_DECL_MCAST_MSFILTER) 159 XLAT(MCAST_MSFILTER), 160 #endif 161 #if defined(IP_MULTICAST_ALL) || (defined(HAVE_DECL_IP_MULTICAST_ALL) && HAVE_DECL_IP_MULTICAST_ALL) 162 XLAT(IP_MULTICAST_ALL), 163 #endif 164 #if defined(IP_UNICAST_IF) || (defined(HAVE_DECL_IP_UNICAST_IF) && HAVE_DECL_IP_UNICAST_IF) 165 XLAT(IP_UNICAST_IF), 166 #endif 167 XLAT_END 168 }; 169 170 # endif /* !IN_MPERS */ 171 172 #endif /* !XLAT_MACROS_ONLY */ 173