1 // Copyright 2017 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // Constants that were deprecated or moved to enums in the FreeBSD headers. Keep 6 // them here for backwards compatibility. 7 8 package unix 9 10 const ( 11 IFF_SMART = 0x20 12 IFT_1822 = 0x2 13 IFT_A12MPPSWITCH = 0x82 14 IFT_AAL2 = 0xbb 15 IFT_AAL5 = 0x31 16 IFT_ADSL = 0x5e 17 IFT_AFLANE8023 = 0x3b 18 IFT_AFLANE8025 = 0x3c 19 IFT_ARAP = 0x58 20 IFT_ARCNET = 0x23 21 IFT_ARCNETPLUS = 0x24 22 IFT_ASYNC = 0x54 23 IFT_ATM = 0x25 24 IFT_ATMDXI = 0x69 25 IFT_ATMFUNI = 0x6a 26 IFT_ATMIMA = 0x6b 27 IFT_ATMLOGICAL = 0x50 28 IFT_ATMRADIO = 0xbd 29 IFT_ATMSUBINTERFACE = 0x86 30 IFT_ATMVCIENDPT = 0xc2 31 IFT_ATMVIRTUAL = 0x95 32 IFT_BGPPOLICYACCOUNTING = 0xa2 33 IFT_BSC = 0x53 34 IFT_CCTEMUL = 0x3d 35 IFT_CEPT = 0x13 36 IFT_CES = 0x85 37 IFT_CHANNEL = 0x46 38 IFT_CNR = 0x55 39 IFT_COFFEE = 0x84 40 IFT_COMPOSITELINK = 0x9b 41 IFT_DCN = 0x8d 42 IFT_DIGITALPOWERLINE = 0x8a 43 IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba 44 IFT_DLSW = 0x4a 45 IFT_DOCSCABLEDOWNSTREAM = 0x80 46 IFT_DOCSCABLEMACLAYER = 0x7f 47 IFT_DOCSCABLEUPSTREAM = 0x81 48 IFT_DS0 = 0x51 49 IFT_DS0BUNDLE = 0x52 50 IFT_DS1FDL = 0xaa 51 IFT_DS3 = 0x1e 52 IFT_DTM = 0x8c 53 IFT_DVBASILN = 0xac 54 IFT_DVBASIOUT = 0xad 55 IFT_DVBRCCDOWNSTREAM = 0x93 56 IFT_DVBRCCMACLAYER = 0x92 57 IFT_DVBRCCUPSTREAM = 0x94 58 IFT_ENC = 0xf4 59 IFT_EON = 0x19 60 IFT_EPLRS = 0x57 61 IFT_ESCON = 0x49 62 IFT_ETHER = 0x6 63 IFT_FAITH = 0xf2 64 IFT_FAST = 0x7d 65 IFT_FASTETHER = 0x3e 66 IFT_FASTETHERFX = 0x45 67 IFT_FDDI = 0xf 68 IFT_FIBRECHANNEL = 0x38 69 IFT_FRAMERELAYINTERCONNECT = 0x3a 70 IFT_FRAMERELAYMPI = 0x5c 71 IFT_FRDLCIENDPT = 0xc1 72 IFT_FRELAY = 0x20 73 IFT_FRELAYDCE = 0x2c 74 IFT_FRF16MFRBUNDLE = 0xa3 75 IFT_FRFORWARD = 0x9e 76 IFT_G703AT2MB = 0x43 77 IFT_G703AT64K = 0x42 78 IFT_GIF = 0xf0 79 IFT_GIGABITETHERNET = 0x75 80 IFT_GR303IDT = 0xb2 81 IFT_GR303RDT = 0xb1 82 IFT_H323GATEKEEPER = 0xa4 83 IFT_H323PROXY = 0xa5 84 IFT_HDH1822 = 0x3 85 IFT_HDLC = 0x76 86 IFT_HDSL2 = 0xa8 87 IFT_HIPERLAN2 = 0xb7 88 IFT_HIPPI = 0x2f 89 IFT_HIPPIINTERFACE = 0x39 90 IFT_HOSTPAD = 0x5a 91 IFT_HSSI = 0x2e 92 IFT_HY = 0xe 93 IFT_IBM370PARCHAN = 0x48 94 IFT_IDSL = 0x9a 95 IFT_IEEE80211 = 0x47 96 IFT_IEEE80212 = 0x37 97 IFT_IEEE8023ADLAG = 0xa1 98 IFT_IFGSN = 0x91 99 IFT_IMT = 0xbe 100 IFT_INTERLEAVE = 0x7c 101 IFT_IP = 0x7e 102 IFT_IPFORWARD = 0x8e 103 IFT_IPOVERATM = 0x72 104 IFT_IPOVERCDLC = 0x6d 105 IFT_IPOVERCLAW = 0x6e 106 IFT_IPSWITCH = 0x4e 107 IFT_IPXIP = 0xf9 108 IFT_ISDN = 0x3f 109 IFT_ISDNBASIC = 0x14 110 IFT_ISDNPRIMARY = 0x15 111 IFT_ISDNS = 0x4b 112 IFT_ISDNU = 0x4c 113 IFT_ISO88022LLC = 0x29 114 IFT_ISO88023 = 0x7 115 IFT_ISO88024 = 0x8 116 IFT_ISO88025 = 0x9 117 IFT_ISO88025CRFPINT = 0x62 118 IFT_ISO88025DTR = 0x56 119 IFT_ISO88025FIBER = 0x73 120 IFT_ISO88026 = 0xa 121 IFT_ISUP = 0xb3 122 IFT_L3IPXVLAN = 0x89 123 IFT_LAPB = 0x10 124 IFT_LAPD = 0x4d 125 IFT_LAPF = 0x77 126 IFT_LOCALTALK = 0x2a 127 IFT_LOOP = 0x18 128 IFT_MEDIAMAILOVERIP = 0x8b 129 IFT_MFSIGLINK = 0xa7 130 IFT_MIOX25 = 0x26 131 IFT_MODEM = 0x30 132 IFT_MPC = 0x71 133 IFT_MPLS = 0xa6 134 IFT_MPLSTUNNEL = 0x96 135 IFT_MSDSL = 0x8f 136 IFT_MVL = 0xbf 137 IFT_MYRINET = 0x63 138 IFT_NFAS = 0xaf 139 IFT_NSIP = 0x1b 140 IFT_OPTICALCHANNEL = 0xc3 141 IFT_OPTICALTRANSPORT = 0xc4 142 IFT_OTHER = 0x1 143 IFT_P10 = 0xc 144 IFT_P80 = 0xd 145 IFT_PARA = 0x22 146 IFT_PFLOG = 0xf6 147 IFT_PFSYNC = 0xf7 148 IFT_PLC = 0xae 149 IFT_POS = 0xab 150 IFT_PPPMULTILINKBUNDLE = 0x6c 151 IFT_PROPBWAP2MP = 0xb8 152 IFT_PROPCNLS = 0x59 153 IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5 154 IFT_PROPDOCSWIRELESSMACLAYER = 0xb4 155 IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6 156 IFT_PROPMUX = 0x36 157 IFT_PROPWIRELESSP2P = 0x9d 158 IFT_PTPSERIAL = 0x16 159 IFT_PVC = 0xf1 160 IFT_QLLC = 0x44 161 IFT_RADIOMAC = 0xbc 162 IFT_RADSL = 0x5f 163 IFT_REACHDSL = 0xc0 164 IFT_RFC1483 = 0x9f 165 IFT_RS232 = 0x21 166 IFT_RSRB = 0x4f 167 IFT_SDLC = 0x11 168 IFT_SDSL = 0x60 169 IFT_SHDSL = 0xa9 170 IFT_SIP = 0x1f 171 IFT_SLIP = 0x1c 172 IFT_SMDSDXI = 0x2b 173 IFT_SMDSICIP = 0x34 174 IFT_SONET = 0x27 175 IFT_SONETOVERHEADCHANNEL = 0xb9 176 IFT_SONETPATH = 0x32 177 IFT_SONETVT = 0x33 178 IFT_SRP = 0x97 179 IFT_SS7SIGLINK = 0x9c 180 IFT_STACKTOSTACK = 0x6f 181 IFT_STARLAN = 0xb 182 IFT_STF = 0xd7 183 IFT_T1 = 0x12 184 IFT_TDLC = 0x74 185 IFT_TERMPAD = 0x5b 186 IFT_TR008 = 0xb0 187 IFT_TRANSPHDLC = 0x7b 188 IFT_TUNNEL = 0x83 189 IFT_ULTRA = 0x1d 190 IFT_USB = 0xa0 191 IFT_V11 = 0x40 192 IFT_V35 = 0x2d 193 IFT_V36 = 0x41 194 IFT_V37 = 0x78 195 IFT_VDSL = 0x61 196 IFT_VIRTUALIPADDRESS = 0x70 197 IFT_VOICEEM = 0x64 198 IFT_VOICEENCAP = 0x67 199 IFT_VOICEFXO = 0x65 200 IFT_VOICEFXS = 0x66 201 IFT_VOICEOVERATM = 0x98 202 IFT_VOICEOVERFRAMERELAY = 0x99 203 IFT_VOICEOVERIP = 0x68 204 IFT_X213 = 0x5d 205 IFT_X25 = 0x5 206 IFT_X25DDN = 0x4 207 IFT_X25HUNTGROUP = 0x7a 208 IFT_X25MLP = 0x79 209 IFT_X25PLE = 0x28 210 IFT_XETHER = 0x1a 211 IPPROTO_MAXID = 0x34 212 IPV6_FAITH = 0x1d 213 IP_FAITH = 0x16 214 MAP_NORESERVE = 0x40 215 MAP_RENAME = 0x20 216 NET_RT_MAXID = 0x6 217 RTF_PRCLONING = 0x10000 218 RTM_OLDADD = 0x9 219 RTM_OLDDEL = 0xa 220 SIOCADDRT = 0x8030720a 221 SIOCALIFADDR = 0x8118691b 222 SIOCDELRT = 0x8030720b 223 SIOCDLIFADDR = 0x8118691d 224 SIOCGLIFADDR = 0xc118691c 225 SIOCGLIFPHYADDR = 0xc118694b 226 SIOCSLIFPHYADDR = 0x8118694a 227 ) 228