1 /* Generated by ./xlat/gen.sh from ./xlat/addrfams.in; do not edit. */ 2 #if !(defined(AF_UNSPEC) || (defined(HAVE_DECL_AF_UNSPEC) && HAVE_DECL_AF_UNSPEC)) 3 # define AF_UNSPEC 0 4 #endif 5 #if !(defined(AF_UNIX) || (defined(HAVE_DECL_AF_UNIX) && HAVE_DECL_AF_UNIX)) 6 # define AF_UNIX 1 7 #endif 8 #if !(defined(AF_INET) || (defined(HAVE_DECL_AF_INET) && HAVE_DECL_AF_INET)) 9 # define AF_INET 2 10 #endif 11 #if !(defined(AF_AX25) || (defined(HAVE_DECL_AF_AX25) && HAVE_DECL_AF_AX25)) 12 # define AF_AX25 3 13 #endif 14 #if !(defined(AF_IPX) || (defined(HAVE_DECL_AF_IPX) && HAVE_DECL_AF_IPX)) 15 # define AF_IPX 4 16 #endif 17 #if !(defined(AF_APPLETALK) || (defined(HAVE_DECL_AF_APPLETALK) && HAVE_DECL_AF_APPLETALK)) 18 # define AF_APPLETALK 5 19 #endif 20 #if !(defined(AF_NETROM) || (defined(HAVE_DECL_AF_NETROM) && HAVE_DECL_AF_NETROM)) 21 # define AF_NETROM 6 22 #endif 23 #if !(defined(AF_BRIDGE) || (defined(HAVE_DECL_AF_BRIDGE) && HAVE_DECL_AF_BRIDGE)) 24 # define AF_BRIDGE 7 25 #endif 26 #if !(defined(AF_ATMPVC) || (defined(HAVE_DECL_AF_ATMPVC) && HAVE_DECL_AF_ATMPVC)) 27 # define AF_ATMPVC 8 28 #endif 29 #if !(defined(AF_X25) || (defined(HAVE_DECL_AF_X25) && HAVE_DECL_AF_X25)) 30 # define AF_X25 9 31 #endif 32 #if !(defined(AF_INET6) || (defined(HAVE_DECL_AF_INET6) && HAVE_DECL_AF_INET6)) 33 # define AF_INET6 10 34 #endif 35 #if !(defined(AF_ROSE) || (defined(HAVE_DECL_AF_ROSE) && HAVE_DECL_AF_ROSE)) 36 # define AF_ROSE 11 37 #endif 38 #if !(defined(AF_DECnet) || (defined(HAVE_DECL_AF_DECnet) && HAVE_DECL_AF_DECnet)) 39 # define AF_DECnet 12 40 #endif 41 #if !(defined(AF_NETBEUI) || (defined(HAVE_DECL_AF_NETBEUI) && HAVE_DECL_AF_NETBEUI)) 42 # define AF_NETBEUI 13 43 #endif 44 #if !(defined(AF_SECURITY) || (defined(HAVE_DECL_AF_SECURITY) && HAVE_DECL_AF_SECURITY)) 45 # define AF_SECURITY 14 46 #endif 47 #if !(defined(AF_KEY) || (defined(HAVE_DECL_AF_KEY) && HAVE_DECL_AF_KEY)) 48 # define AF_KEY 15 49 #endif 50 #if !(defined(AF_NETLINK) || (defined(HAVE_DECL_AF_NETLINK) && HAVE_DECL_AF_NETLINK)) 51 # define AF_NETLINK 16 52 #endif 53 #if !(defined(AF_PACKET) || (defined(HAVE_DECL_AF_PACKET) && HAVE_DECL_AF_PACKET)) 54 # define AF_PACKET 17 55 #endif 56 #if !(defined(AF_ASH) || (defined(HAVE_DECL_AF_ASH) && HAVE_DECL_AF_ASH)) 57 # define AF_ASH 18 58 #endif 59 #if !(defined(AF_ECONET) || (defined(HAVE_DECL_AF_ECONET) && HAVE_DECL_AF_ECONET)) 60 # define AF_ECONET 19 61 #endif 62 #if !(defined(AF_ATMSVC) || (defined(HAVE_DECL_AF_ATMSVC) && HAVE_DECL_AF_ATMSVC)) 63 # define AF_ATMSVC 20 64 #endif 65 #if !(defined(AF_RDS) || (defined(HAVE_DECL_AF_RDS) && HAVE_DECL_AF_RDS)) 66 # define AF_RDS 21 67 #endif 68 #if !(defined(AF_SNA) || (defined(HAVE_DECL_AF_SNA) && HAVE_DECL_AF_SNA)) 69 # define AF_SNA 22 70 #endif 71 #if !(defined(AF_IRDA) || (defined(HAVE_DECL_AF_IRDA) && HAVE_DECL_AF_IRDA)) 72 # define AF_IRDA 23 73 #endif 74 #if !(defined(AF_PPPOX) || (defined(HAVE_DECL_AF_PPPOX) && HAVE_DECL_AF_PPPOX)) 75 # define AF_PPPOX 24 76 #endif 77 #if !(defined(AF_WANPIPE) || (defined(HAVE_DECL_AF_WANPIPE) && HAVE_DECL_AF_WANPIPE)) 78 # define AF_WANPIPE 25 79 #endif 80 #if !(defined(AF_LLC) || (defined(HAVE_DECL_AF_LLC) && HAVE_DECL_AF_LLC)) 81 # define AF_LLC 26 82 #endif 83 #if !(defined(AF_IB) || (defined(HAVE_DECL_AF_IB) && HAVE_DECL_AF_IB)) 84 # define AF_IB 27 85 #endif 86 #if !(defined(AF_MPLS) || (defined(HAVE_DECL_AF_MPLS) && HAVE_DECL_AF_MPLS)) 87 # define AF_MPLS 28 88 #endif 89 #if !(defined(AF_CAN) || (defined(HAVE_DECL_AF_CAN) && HAVE_DECL_AF_CAN)) 90 # define AF_CAN 29 91 #endif 92 #if !(defined(AF_TIPC) || (defined(HAVE_DECL_AF_TIPC) && HAVE_DECL_AF_TIPC)) 93 # define AF_TIPC 30 94 #endif 95 #if !(defined(AF_BLUETOOTH) || (defined(HAVE_DECL_AF_BLUETOOTH) && HAVE_DECL_AF_BLUETOOTH)) 96 # define AF_BLUETOOTH 31 97 #endif 98 #if !(defined(AF_IUCV) || (defined(HAVE_DECL_AF_IUCV) && HAVE_DECL_AF_IUCV)) 99 # define AF_IUCV 32 100 #endif 101 #if !(defined(AF_RXRPC) || (defined(HAVE_DECL_AF_RXRPC) && HAVE_DECL_AF_RXRPC)) 102 # define AF_RXRPC 33 103 #endif 104 #if !(defined(AF_ISDN) || (defined(HAVE_DECL_AF_ISDN) && HAVE_DECL_AF_ISDN)) 105 # define AF_ISDN 34 106 #endif 107 #if !(defined(AF_PHONET) || (defined(HAVE_DECL_AF_PHONET) && HAVE_DECL_AF_PHONET)) 108 # define AF_PHONET 35 109 #endif 110 #if !(defined(AF_IEEE802154) || (defined(HAVE_DECL_AF_IEEE802154) && HAVE_DECL_AF_IEEE802154)) 111 # define AF_IEEE802154 36 112 #endif 113 #if !(defined(AF_CAIF) || (defined(HAVE_DECL_AF_CAIF) && HAVE_DECL_AF_CAIF)) 114 # define AF_CAIF 37 115 #endif 116 #if !(defined(AF_ALG) || (defined(HAVE_DECL_AF_ALG) && HAVE_DECL_AF_ALG)) 117 # define AF_ALG 38 118 #endif 119 #if !(defined(AF_NFC) || (defined(HAVE_DECL_AF_NFC) && HAVE_DECL_AF_NFC)) 120 # define AF_NFC 39 121 #endif 122 #if !(defined(AF_VSOCK) || (defined(HAVE_DECL_AF_VSOCK) && HAVE_DECL_AF_VSOCK)) 123 # define AF_VSOCK 40 124 #endif 125 #if !(defined(AF_KCM) || (defined(HAVE_DECL_AF_KCM) && HAVE_DECL_AF_KCM)) 126 # define AF_KCM 41 127 #endif 128 #if !(defined(AF_QIPCRTR) || (defined(HAVE_DECL_AF_QIPCRTR) && HAVE_DECL_AF_QIPCRTR)) 129 # define AF_QIPCRTR 42 130 #endif 131 #if !(defined(AF_SMC) || (defined(HAVE_DECL_AF_SMC) && HAVE_DECL_AF_SMC)) 132 # define AF_SMC 43 133 #endif 134 135 #ifndef IN_MPERS 136 137 const struct xlat addrfams[] = { 138 XLAT(AF_UNSPEC), 139 XLAT(AF_UNIX), 140 XLAT(AF_INET), 141 XLAT(AF_AX25), 142 XLAT(AF_IPX), 143 XLAT(AF_APPLETALK), 144 XLAT(AF_NETROM), 145 XLAT(AF_BRIDGE), 146 XLAT(AF_ATMPVC), 147 XLAT(AF_X25), 148 XLAT(AF_INET6), 149 XLAT(AF_ROSE), 150 XLAT(AF_DECnet), 151 XLAT(AF_NETBEUI), 152 XLAT(AF_SECURITY), 153 XLAT(AF_KEY), 154 XLAT(AF_NETLINK), 155 XLAT(AF_PACKET), 156 XLAT(AF_ASH), 157 XLAT(AF_ECONET), 158 XLAT(AF_ATMSVC), 159 XLAT(AF_RDS), 160 XLAT(AF_SNA), 161 XLAT(AF_IRDA), 162 XLAT(AF_PPPOX), 163 XLAT(AF_WANPIPE), 164 XLAT(AF_LLC), 165 XLAT(AF_IB), 166 XLAT(AF_MPLS), 167 XLAT(AF_CAN), 168 XLAT(AF_TIPC), 169 XLAT(AF_BLUETOOTH), 170 XLAT(AF_IUCV), 171 XLAT(AF_RXRPC), 172 XLAT(AF_ISDN), 173 XLAT(AF_PHONET), 174 XLAT(AF_IEEE802154), 175 XLAT(AF_CAIF), 176 XLAT(AF_ALG), 177 XLAT(AF_NFC), 178 XLAT(AF_VSOCK), 179 XLAT(AF_KCM), 180 XLAT(AF_QIPCRTR), 181 XLAT(AF_SMC), 182 XLAT_END 183 }; 184 185 #endif /* !IN_MPERS */ 186