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