mirror of
https://github.com/go-gitea/gitea.git
synced 2024-08-18 10:33:24 +02:00
1651 lines
67 KiB
Go
1651 lines
67 KiB
Go
// mkerrors.sh -m64
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
// +build amd64,dragonfly
|
|
|
|
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
|
// cgo -godefs -- -m64 _const.go
|
|
|
|
package unix
|
|
|
|
import "syscall"
|
|
|
|
const (
|
|
AF_APPLETALK = 0x10
|
|
AF_ATM = 0x1e
|
|
AF_BLUETOOTH = 0x21
|
|
AF_CCITT = 0xa
|
|
AF_CHAOS = 0x5
|
|
AF_CNT = 0x15
|
|
AF_COIP = 0x14
|
|
AF_DATAKIT = 0x9
|
|
AF_DECnet = 0xc
|
|
AF_DLI = 0xd
|
|
AF_E164 = 0x1a
|
|
AF_ECMA = 0x8
|
|
AF_HYLINK = 0xf
|
|
AF_IEEE80211 = 0x23
|
|
AF_IMPLINK = 0x3
|
|
AF_INET = 0x2
|
|
AF_INET6 = 0x1c
|
|
AF_IPX = 0x17
|
|
AF_ISDN = 0x1a
|
|
AF_ISO = 0x7
|
|
AF_LAT = 0xe
|
|
AF_LINK = 0x12
|
|
AF_LOCAL = 0x1
|
|
AF_MAX = 0x24
|
|
AF_MPLS = 0x22
|
|
AF_NATM = 0x1d
|
|
AF_NETBIOS = 0x6
|
|
AF_NETGRAPH = 0x20
|
|
AF_OSI = 0x7
|
|
AF_PUP = 0x4
|
|
AF_ROUTE = 0x11
|
|
AF_SIP = 0x18
|
|
AF_SNA = 0xb
|
|
AF_UNIX = 0x1
|
|
AF_UNSPEC = 0x0
|
|
ALTWERASE = 0x200
|
|
B0 = 0x0
|
|
B110 = 0x6e
|
|
B115200 = 0x1c200
|
|
B1200 = 0x4b0
|
|
B134 = 0x86
|
|
B14400 = 0x3840
|
|
B150 = 0x96
|
|
B1800 = 0x708
|
|
B19200 = 0x4b00
|
|
B200 = 0xc8
|
|
B230400 = 0x38400
|
|
B2400 = 0x960
|
|
B28800 = 0x7080
|
|
B300 = 0x12c
|
|
B38400 = 0x9600
|
|
B4800 = 0x12c0
|
|
B50 = 0x32
|
|
B57600 = 0xe100
|
|
B600 = 0x258
|
|
B7200 = 0x1c20
|
|
B75 = 0x4b
|
|
B76800 = 0x12c00
|
|
B9600 = 0x2580
|
|
BIOCFLUSH = 0x20004268
|
|
BIOCGBLEN = 0x40044266
|
|
BIOCGDLT = 0x4004426a
|
|
BIOCGDLTLIST = 0xc0104279
|
|
BIOCGETIF = 0x4020426b
|
|
BIOCGHDRCMPLT = 0x40044274
|
|
BIOCGRSIG = 0x40044272
|
|
BIOCGRTIMEOUT = 0x4010426e
|
|
BIOCGSEESENT = 0x40044276
|
|
BIOCGSTATS = 0x4008426f
|
|
BIOCIMMEDIATE = 0x80044270
|
|
BIOCLOCK = 0x2000427a
|
|
BIOCPROMISC = 0x20004269
|
|
BIOCSBLEN = 0xc0044266
|
|
BIOCSDLT = 0x80044278
|
|
BIOCSETF = 0x80104267
|
|
BIOCSETIF = 0x8020426c
|
|
BIOCSETWF = 0x8010427b
|
|
BIOCSHDRCMPLT = 0x80044275
|
|
BIOCSRSIG = 0x80044273
|
|
BIOCSRTIMEOUT = 0x8010426d
|
|
BIOCSSEESENT = 0x80044277
|
|
BIOCVERSION = 0x40044271
|
|
BPF_A = 0x10
|
|
BPF_ABS = 0x20
|
|
BPF_ADD = 0x0
|
|
BPF_ALIGNMENT = 0x8
|
|
BPF_ALU = 0x4
|
|
BPF_AND = 0x50
|
|
BPF_B = 0x10
|
|
BPF_DEFAULTBUFSIZE = 0x1000
|
|
BPF_DIV = 0x30
|
|
BPF_H = 0x8
|
|
BPF_IMM = 0x0
|
|
BPF_IND = 0x40
|
|
BPF_JA = 0x0
|
|
BPF_JEQ = 0x10
|
|
BPF_JGE = 0x30
|
|
BPF_JGT = 0x20
|
|
BPF_JMP = 0x5
|
|
BPF_JSET = 0x40
|
|
BPF_K = 0x0
|
|
BPF_LD = 0x0
|
|
BPF_LDX = 0x1
|
|
BPF_LEN = 0x80
|
|
BPF_LSH = 0x60
|
|
BPF_MAJOR_VERSION = 0x1
|
|
BPF_MAXBUFSIZE = 0x80000
|
|
BPF_MAXINSNS = 0x200
|
|
BPF_MAX_CLONES = 0x80
|
|
BPF_MEM = 0x60
|
|
BPF_MEMWORDS = 0x10
|
|
BPF_MINBUFSIZE = 0x20
|
|
BPF_MINOR_VERSION = 0x1
|
|
BPF_MISC = 0x7
|
|
BPF_MSH = 0xa0
|
|
BPF_MUL = 0x20
|
|
BPF_NEG = 0x80
|
|
BPF_OR = 0x40
|
|
BPF_RELEASE = 0x30bb6
|
|
BPF_RET = 0x6
|
|
BPF_RSH = 0x70
|
|
BPF_ST = 0x2
|
|
BPF_STX = 0x3
|
|
BPF_SUB = 0x10
|
|
BPF_TAX = 0x0
|
|
BPF_TXA = 0x80
|
|
BPF_W = 0x0
|
|
BPF_X = 0x8
|
|
BRKINT = 0x2
|
|
CFLUSH = 0xf
|
|
CLOCAL = 0x8000
|
|
CLOCK_MONOTONIC = 0x4
|
|
CLOCK_MONOTONIC_FAST = 0xc
|
|
CLOCK_MONOTONIC_PRECISE = 0xb
|
|
CLOCK_PROCESS_CPUTIME_ID = 0xf
|
|
CLOCK_PROF = 0x2
|
|
CLOCK_REALTIME = 0x0
|
|
CLOCK_REALTIME_FAST = 0xa
|
|
CLOCK_REALTIME_PRECISE = 0x9
|
|
CLOCK_SECOND = 0xd
|
|
CLOCK_THREAD_CPUTIME_ID = 0xe
|
|
CLOCK_UPTIME = 0x5
|
|
CLOCK_UPTIME_FAST = 0x8
|
|
CLOCK_UPTIME_PRECISE = 0x7
|
|
CLOCK_VIRTUAL = 0x1
|
|
CREAD = 0x800
|
|
CRTSCTS = 0x30000
|
|
CS5 = 0x0
|
|
CS6 = 0x100
|
|
CS7 = 0x200
|
|
CS8 = 0x300
|
|
CSIZE = 0x300
|
|
CSTART = 0x11
|
|
CSTATUS = 0x14
|
|
CSTOP = 0x13
|
|
CSTOPB = 0x400
|
|
CSUSP = 0x1a
|
|
CTL_HW = 0x6
|
|
CTL_KERN = 0x1
|
|
CTL_MAXNAME = 0xc
|
|
CTL_NET = 0x4
|
|
DLT_A429 = 0xb8
|
|
DLT_A653_ICM = 0xb9
|
|
DLT_AIRONET_HEADER = 0x78
|
|
DLT_APPLE_IP_OVER_IEEE1394 = 0x8a
|
|
DLT_ARCNET = 0x7
|
|
DLT_ARCNET_LINUX = 0x81
|
|
DLT_ATM_CLIP = 0x13
|
|
DLT_ATM_RFC1483 = 0xb
|
|
DLT_AURORA = 0x7e
|
|
DLT_AX25 = 0x3
|
|
DLT_AX25_KISS = 0xca
|
|
DLT_BACNET_MS_TP = 0xa5
|
|
DLT_BLUETOOTH_HCI_H4 = 0xbb
|
|
DLT_BLUETOOTH_HCI_H4_WITH_PHDR = 0xc9
|
|
DLT_CAN20B = 0xbe
|
|
DLT_CHAOS = 0x5
|
|
DLT_CHDLC = 0x68
|
|
DLT_CISCO_IOS = 0x76
|
|
DLT_C_HDLC = 0x68
|
|
DLT_C_HDLC_WITH_DIR = 0xcd
|
|
DLT_DOCSIS = 0x8f
|
|
DLT_ECONET = 0x73
|
|
DLT_EN10MB = 0x1
|
|
DLT_EN3MB = 0x2
|
|
DLT_ENC = 0x6d
|
|
DLT_ERF = 0xc5
|
|
DLT_ERF_ETH = 0xaf
|
|
DLT_ERF_POS = 0xb0
|
|
DLT_FDDI = 0xa
|
|
DLT_FLEXRAY = 0xd2
|
|
DLT_FRELAY = 0x6b
|
|
DLT_FRELAY_WITH_DIR = 0xce
|
|
DLT_GCOM_SERIAL = 0xad
|
|
DLT_GCOM_T1E1 = 0xac
|
|
DLT_GPF_F = 0xab
|
|
DLT_GPF_T = 0xaa
|
|
DLT_GPRS_LLC = 0xa9
|
|
DLT_HHDLC = 0x79
|
|
DLT_IBM_SN = 0x92
|
|
DLT_IBM_SP = 0x91
|
|
DLT_IEEE802 = 0x6
|
|
DLT_IEEE802_11 = 0x69
|
|
DLT_IEEE802_11_RADIO = 0x7f
|
|
DLT_IEEE802_11_RADIO_AVS = 0xa3
|
|
DLT_IEEE802_15_4 = 0xc3
|
|
DLT_IEEE802_15_4_LINUX = 0xbf
|
|
DLT_IEEE802_15_4_NONASK_PHY = 0xd7
|
|
DLT_IEEE802_16_MAC_CPS = 0xbc
|
|
DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1
|
|
DLT_IPFILTER = 0x74
|
|
DLT_IPMB = 0xc7
|
|
DLT_IPMB_LINUX = 0xd1
|
|
DLT_IP_OVER_FC = 0x7a
|
|
DLT_JUNIPER_ATM1 = 0x89
|
|
DLT_JUNIPER_ATM2 = 0x87
|
|
DLT_JUNIPER_CHDLC = 0xb5
|
|
DLT_JUNIPER_ES = 0x84
|
|
DLT_JUNIPER_ETHER = 0xb2
|
|
DLT_JUNIPER_FRELAY = 0xb4
|
|
DLT_JUNIPER_GGSN = 0x85
|
|
DLT_JUNIPER_ISM = 0xc2
|
|
DLT_JUNIPER_MFR = 0x86
|
|
DLT_JUNIPER_MLFR = 0x83
|
|
DLT_JUNIPER_MLPPP = 0x82
|
|
DLT_JUNIPER_MONITOR = 0xa4
|
|
DLT_JUNIPER_PIC_PEER = 0xae
|
|
DLT_JUNIPER_PPP = 0xb3
|
|
DLT_JUNIPER_PPPOE = 0xa7
|
|
DLT_JUNIPER_PPPOE_ATM = 0xa8
|
|
DLT_JUNIPER_SERVICES = 0x88
|
|
DLT_JUNIPER_ST = 0xc8
|
|
DLT_JUNIPER_VP = 0xb7
|
|
DLT_LAPB_WITH_DIR = 0xcf
|
|
DLT_LAPD = 0xcb
|
|
DLT_LIN = 0xd4
|
|
DLT_LINUX_IRDA = 0x90
|
|
DLT_LINUX_LAPD = 0xb1
|
|
DLT_LINUX_SLL = 0x71
|
|
DLT_LOOP = 0x6c
|
|
DLT_LTALK = 0x72
|
|
DLT_MFR = 0xb6
|
|
DLT_MOST = 0xd3
|
|
DLT_MTP2 = 0x8c
|
|
DLT_MTP2_WITH_PHDR = 0x8b
|
|
DLT_MTP3 = 0x8d
|
|
DLT_NULL = 0x0
|
|
DLT_PCI_EXP = 0x7d
|
|
DLT_PFLOG = 0x75
|
|
DLT_PFSYNC = 0x12
|
|
DLT_PPI = 0xc0
|
|
DLT_PPP = 0x9
|
|
DLT_PPP_BSDOS = 0x10
|
|
DLT_PPP_ETHER = 0x33
|
|
DLT_PPP_PPPD = 0xa6
|
|
DLT_PPP_SERIAL = 0x32
|
|
DLT_PPP_WITH_DIR = 0xcc
|
|
DLT_PRISM_HEADER = 0x77
|
|
DLT_PRONET = 0x4
|
|
DLT_RAIF1 = 0xc6
|
|
DLT_RAW = 0xc
|
|
DLT_REDBACK_SMARTEDGE = 0x20
|
|
DLT_RIO = 0x7c
|
|
DLT_SCCP = 0x8e
|
|
DLT_SITA = 0xc4
|
|
DLT_SLIP = 0x8
|
|
DLT_SLIP_BSDOS = 0xf
|
|
DLT_SUNATM = 0x7b
|
|
DLT_SYMANTEC_FIREWALL = 0x63
|
|
DLT_TZSP = 0x80
|
|
DLT_USB = 0xba
|
|
DLT_USB_LINUX = 0xbd
|
|
DLT_X2E_SERIAL = 0xd5
|
|
DLT_X2E_XORAYA = 0xd6
|
|
DT_BLK = 0x6
|
|
DT_CHR = 0x2
|
|
DT_DBF = 0xf
|
|
DT_DIR = 0x4
|
|
DT_FIFO = 0x1
|
|
DT_LNK = 0xa
|
|
DT_REG = 0x8
|
|
DT_SOCK = 0xc
|
|
DT_UNKNOWN = 0x0
|
|
DT_WHT = 0xe
|
|
ECHO = 0x8
|
|
ECHOCTL = 0x40
|
|
ECHOE = 0x2
|
|
ECHOK = 0x4
|
|
ECHOKE = 0x1
|
|
ECHONL = 0x10
|
|
ECHOPRT = 0x20
|
|
EVFILT_AIO = -0x3
|
|
EVFILT_EXCEPT = -0x8
|
|
EVFILT_FS = -0xa
|
|
EVFILT_MARKER = 0xf
|
|
EVFILT_PROC = -0x5
|
|
EVFILT_READ = -0x1
|
|
EVFILT_SIGNAL = -0x6
|
|
EVFILT_SYSCOUNT = 0xa
|
|
EVFILT_TIMER = -0x7
|
|
EVFILT_USER = -0x9
|
|
EVFILT_VNODE = -0x4
|
|
EVFILT_WRITE = -0x2
|
|
EV_ADD = 0x1
|
|
EV_CLEAR = 0x20
|
|
EV_DELETE = 0x2
|
|
EV_DISABLE = 0x8
|
|
EV_DISPATCH = 0x80
|
|
EV_ENABLE = 0x4
|
|
EV_EOF = 0x8000
|
|
EV_ERROR = 0x4000
|
|
EV_FLAG1 = 0x2000
|
|
EV_NODATA = 0x1000
|
|
EV_ONESHOT = 0x10
|
|
EV_RECEIPT = 0x40
|
|
EV_SYSFLAGS = 0xf000
|
|
EXTA = 0x4b00
|
|
EXTB = 0x9600
|
|
EXTEXIT_LWP = 0x10000
|
|
EXTEXIT_PROC = 0x0
|
|
EXTEXIT_SETINT = 0x1
|
|
EXTEXIT_SIMPLE = 0x0
|
|
EXTPROC = 0x800
|
|
FD_CLOEXEC = 0x1
|
|
FD_SETSIZE = 0x400
|
|
FLUSHO = 0x800000
|
|
F_DUP2FD = 0xa
|
|
F_DUP2FD_CLOEXEC = 0x12
|
|
F_DUPFD = 0x0
|
|
F_DUPFD_CLOEXEC = 0x11
|
|
F_GETFD = 0x1
|
|
F_GETFL = 0x3
|
|
F_GETLK = 0x7
|
|
F_GETOWN = 0x5
|
|
F_OK = 0x0
|
|
F_RDLCK = 0x1
|
|
F_SETFD = 0x2
|
|
F_SETFL = 0x4
|
|
F_SETLK = 0x8
|
|
F_SETLKW = 0x9
|
|
F_SETOWN = 0x6
|
|
F_UNLCK = 0x2
|
|
F_WRLCK = 0x3
|
|
HUPCL = 0x4000
|
|
HW_MACHINE = 0x1
|
|
ICANON = 0x100
|
|
ICMP6_FILTER = 0x12
|
|
ICRNL = 0x100
|
|
IEXTEN = 0x400
|
|
IFAN_ARRIVAL = 0x0
|
|
IFAN_DEPARTURE = 0x1
|
|
IFF_ALLMULTI = 0x200
|
|
IFF_ALTPHYS = 0x4000
|
|
IFF_BROADCAST = 0x2
|
|
IFF_CANTCHANGE = 0x118e72
|
|
IFF_DEBUG = 0x4
|
|
IFF_LINK0 = 0x1000
|
|
IFF_LINK1 = 0x2000
|
|
IFF_LINK2 = 0x4000
|
|
IFF_LOOPBACK = 0x8
|
|
IFF_MONITOR = 0x40000
|
|
IFF_MULTICAST = 0x8000
|
|
IFF_NOARP = 0x80
|
|
IFF_NPOLLING = 0x100000
|
|
IFF_OACTIVE = 0x400
|
|
IFF_OACTIVE_COMPAT = 0x400
|
|
IFF_POINTOPOINT = 0x10
|
|
IFF_POLLING = 0x10000
|
|
IFF_POLLING_COMPAT = 0x10000
|
|
IFF_PPROMISC = 0x20000
|
|
IFF_PROMISC = 0x100
|
|
IFF_RUNNING = 0x40
|
|
IFF_SIMPLEX = 0x800
|
|
IFF_SMART = 0x20
|
|
IFF_STATICARP = 0x80000
|
|
IFF_UP = 0x1
|
|
IFNAMSIZ = 0x10
|
|
IFT_1822 = 0x2
|
|
IFT_A12MPPSWITCH = 0x82
|
|
IFT_AAL2 = 0xbb
|
|
IFT_AAL5 = 0x31
|
|
IFT_ADSL = 0x5e
|
|
IFT_AFLANE8023 = 0x3b
|
|
IFT_AFLANE8025 = 0x3c
|
|
IFT_ARAP = 0x58
|
|
IFT_ARCNET = 0x23
|
|
IFT_ARCNETPLUS = 0x24
|
|
IFT_ASYNC = 0x54
|
|
IFT_ATM = 0x25
|
|
IFT_ATMDXI = 0x69
|
|
IFT_ATMFUNI = 0x6a
|
|
IFT_ATMIMA = 0x6b
|
|
IFT_ATMLOGICAL = 0x50
|
|
IFT_ATMRADIO = 0xbd
|
|
IFT_ATMSUBINTERFACE = 0x86
|
|
IFT_ATMVCIENDPT = 0xc2
|
|
IFT_ATMVIRTUAL = 0x95
|
|
IFT_BGPPOLICYACCOUNTING = 0xa2
|
|
IFT_BRIDGE = 0xd1
|
|
IFT_BSC = 0x53
|
|
IFT_CARP = 0xf8
|
|
IFT_CCTEMUL = 0x3d
|
|
IFT_CEPT = 0x13
|
|
IFT_CES = 0x85
|
|
IFT_CHANNEL = 0x46
|
|
IFT_CNR = 0x55
|
|
IFT_COFFEE = 0x84
|
|
IFT_COMPOSITELINK = 0x9b
|
|
IFT_DCN = 0x8d
|
|
IFT_DIGITALPOWERLINE = 0x8a
|
|
IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
|
|
IFT_DLSW = 0x4a
|
|
IFT_DOCSCABLEDOWNSTREAM = 0x80
|
|
IFT_DOCSCABLEMACLAYER = 0x7f
|
|
IFT_DOCSCABLEUPSTREAM = 0x81
|
|
IFT_DS0 = 0x51
|
|
IFT_DS0BUNDLE = 0x52
|
|
IFT_DS1FDL = 0xaa
|
|
IFT_DS3 = 0x1e
|
|
IFT_DTM = 0x8c
|
|
IFT_DVBASILN = 0xac
|
|
IFT_DVBASIOUT = 0xad
|
|
IFT_DVBRCCDOWNSTREAM = 0x93
|
|
IFT_DVBRCCMACLAYER = 0x92
|
|
IFT_DVBRCCUPSTREAM = 0x94
|
|
IFT_ENC = 0xf4
|
|
IFT_EON = 0x19
|
|
IFT_EPLRS = 0x57
|
|
IFT_ESCON = 0x49
|
|
IFT_ETHER = 0x6
|
|
IFT_FAITH = 0xf2
|
|
IFT_FAST = 0x7d
|
|
IFT_FASTETHER = 0x3e
|
|
IFT_FASTETHERFX = 0x45
|
|
IFT_FDDI = 0xf
|
|
IFT_FIBRECHANNEL = 0x38
|
|
IFT_FRAMERELAYINTERCONNECT = 0x3a
|
|
IFT_FRAMERELAYMPI = 0x5c
|
|
IFT_FRDLCIENDPT = 0xc1
|
|
IFT_FRELAY = 0x20
|
|
IFT_FRELAYDCE = 0x2c
|
|
IFT_FRF16MFRBUNDLE = 0xa3
|
|
IFT_FRFORWARD = 0x9e
|
|
IFT_G703AT2MB = 0x43
|
|
IFT_G703AT64K = 0x42
|
|
IFT_GIF = 0xf0
|
|
IFT_GIGABITETHERNET = 0x75
|
|
IFT_GR303IDT = 0xb2
|
|
IFT_GR303RDT = 0xb1
|
|
IFT_H323GATEKEEPER = 0xa4
|
|
IFT_H323PROXY = 0xa5
|
|
IFT_HDH1822 = 0x3
|
|
IFT_HDLC = 0x76
|
|
IFT_HDSL2 = 0xa8
|
|
IFT_HIPERLAN2 = 0xb7
|
|
IFT_HIPPI = 0x2f
|
|
IFT_HIPPIINTERFACE = 0x39
|
|
IFT_HOSTPAD = 0x5a
|
|
IFT_HSSI = 0x2e
|
|
IFT_HY = 0xe
|
|
IFT_IBM370PARCHAN = 0x48
|
|
IFT_IDSL = 0x9a
|
|
IFT_IEEE1394 = 0x90
|
|
IFT_IEEE80211 = 0x47
|
|
IFT_IEEE80212 = 0x37
|
|
IFT_IEEE8023ADLAG = 0xa1
|
|
IFT_IFGSN = 0x91
|
|
IFT_IMT = 0xbe
|
|
IFT_INTERLEAVE = 0x7c
|
|
IFT_IP = 0x7e
|
|
IFT_IPFORWARD = 0x8e
|
|
IFT_IPOVERATM = 0x72
|
|
IFT_IPOVERCDLC = 0x6d
|
|
IFT_IPOVERCLAW = 0x6e
|
|
IFT_IPSWITCH = 0x4e
|
|
IFT_ISDN = 0x3f
|
|
IFT_ISDNBASIC = 0x14
|
|
IFT_ISDNPRIMARY = 0x15
|
|
IFT_ISDNS = 0x4b
|
|
IFT_ISDNU = 0x4c
|
|
IFT_ISO88022LLC = 0x29
|
|
IFT_ISO88023 = 0x7
|
|
IFT_ISO88024 = 0x8
|
|
IFT_ISO88025 = 0x9
|
|
IFT_ISO88025CRFPINT = 0x62
|
|
IFT_ISO88025DTR = 0x56
|
|
IFT_ISO88025FIBER = 0x73
|
|
IFT_ISO88026 = 0xa
|
|
IFT_ISUP = 0xb3
|
|
IFT_L2VLAN = 0x87
|
|
IFT_L3IPVLAN = 0x88
|
|
IFT_L3IPXVLAN = 0x89
|
|
IFT_LAPB = 0x10
|
|
IFT_LAPD = 0x4d
|
|
IFT_LAPF = 0x77
|
|
IFT_LOCALTALK = 0x2a
|
|
IFT_LOOP = 0x18
|
|
IFT_MEDIAMAILOVERIP = 0x8b
|
|
IFT_MFSIGLINK = 0xa7
|
|
IFT_MIOX25 = 0x26
|
|
IFT_MODEM = 0x30
|
|
IFT_MPC = 0x71
|
|
IFT_MPLS = 0xa6
|
|
IFT_MPLSTUNNEL = 0x96
|
|
IFT_MSDSL = 0x8f
|
|
IFT_MVL = 0xbf
|
|
IFT_MYRINET = 0x63
|
|
IFT_NFAS = 0xaf
|
|
IFT_NSIP = 0x1b
|
|
IFT_OPTICALCHANNEL = 0xc3
|
|
IFT_OPTICALTRANSPORT = 0xc4
|
|
IFT_OTHER = 0x1
|
|
IFT_P10 = 0xc
|
|
IFT_P80 = 0xd
|
|
IFT_PARA = 0x22
|
|
IFT_PFLOG = 0xf5
|
|
IFT_PFSYNC = 0xf6
|
|
IFT_PLC = 0xae
|
|
IFT_POS = 0xab
|
|
IFT_PPP = 0x17
|
|
IFT_PPPMULTILINKBUNDLE = 0x6c
|
|
IFT_PROPBWAP2MP = 0xb8
|
|
IFT_PROPCNLS = 0x59
|
|
IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5
|
|
IFT_PROPDOCSWIRELESSMACLAYER = 0xb4
|
|
IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6
|
|
IFT_PROPMUX = 0x36
|
|
IFT_PROPVIRTUAL = 0x35
|
|
IFT_PROPWIRELESSP2P = 0x9d
|
|
IFT_PTPSERIAL = 0x16
|
|
IFT_PVC = 0xf1
|
|
IFT_QLLC = 0x44
|
|
IFT_RADIOMAC = 0xbc
|
|
IFT_RADSL = 0x5f
|
|
IFT_REACHDSL = 0xc0
|
|
IFT_RFC1483 = 0x9f
|
|
IFT_RS232 = 0x21
|
|
IFT_RSRB = 0x4f
|
|
IFT_SDLC = 0x11
|
|
IFT_SDSL = 0x60
|
|
IFT_SHDSL = 0xa9
|
|
IFT_SIP = 0x1f
|
|
IFT_SLIP = 0x1c
|
|
IFT_SMDSDXI = 0x2b
|
|
IFT_SMDSICIP = 0x34
|
|
IFT_SONET = 0x27
|
|
IFT_SONETOVERHEADCHANNEL = 0xb9
|
|
IFT_SONETPATH = 0x32
|
|
IFT_SONETVT = 0x33
|
|
IFT_SRP = 0x97
|
|
IFT_SS7SIGLINK = 0x9c
|
|
IFT_STACKTOSTACK = 0x6f
|
|
IFT_STARLAN = 0xb
|
|
IFT_STF = 0xf3
|
|
IFT_T1 = 0x12
|
|
IFT_TDLC = 0x74
|
|
IFT_TERMPAD = 0x5b
|
|
IFT_TR008 = 0xb0
|
|
IFT_TRANSPHDLC = 0x7b
|
|
IFT_TUNNEL = 0x83
|
|
IFT_ULTRA = 0x1d
|
|
IFT_USB = 0xa0
|
|
IFT_V11 = 0x40
|
|
IFT_V35 = 0x2d
|
|
IFT_V36 = 0x41
|
|
IFT_V37 = 0x78
|
|
IFT_VDSL = 0x61
|
|
IFT_VIRTUALIPADDRESS = 0x70
|
|
IFT_VOICEEM = 0x64
|
|
IFT_VOICEENCAP = 0x67
|
|
IFT_VOICEFXO = 0x65
|
|
IFT_VOICEFXS = 0x66
|
|
IFT_VOICEOVERATM = 0x98
|
|
IFT_VOICEOVERFRAMERELAY = 0x99
|
|
IFT_VOICEOVERIP = 0x68
|
|
IFT_X213 = 0x5d
|
|
IFT_X25 = 0x5
|
|
IFT_X25DDN = 0x4
|
|
IFT_X25HUNTGROUP = 0x7a
|
|
IFT_X25MLP = 0x79
|
|
IFT_X25PLE = 0x28
|
|
IFT_XETHER = 0x1a
|
|
IGNBRK = 0x1
|
|
IGNCR = 0x80
|
|
IGNPAR = 0x4
|
|
IMAXBEL = 0x2000
|
|
INLCR = 0x40
|
|
INPCK = 0x10
|
|
IN_CLASSA_HOST = 0xffffff
|
|
IN_CLASSA_MAX = 0x80
|
|
IN_CLASSA_NET = 0xff000000
|
|
IN_CLASSA_NSHIFT = 0x18
|
|
IN_CLASSB_HOST = 0xffff
|
|
IN_CLASSB_MAX = 0x10000
|
|
IN_CLASSB_NET = 0xffff0000
|
|
IN_CLASSB_NSHIFT = 0x10
|
|
IN_CLASSC_HOST = 0xff
|
|
IN_CLASSC_NET = 0xffffff00
|
|
IN_CLASSC_NSHIFT = 0x8
|
|
IN_CLASSD_HOST = 0xfffffff
|
|
IN_CLASSD_NET = 0xf0000000
|
|
IN_CLASSD_NSHIFT = 0x1c
|
|
IN_LOOPBACKNET = 0x7f
|
|
IPPROTO_3PC = 0x22
|
|
IPPROTO_ADFS = 0x44
|
|
IPPROTO_AH = 0x33
|
|
IPPROTO_AHIP = 0x3d
|
|
IPPROTO_APES = 0x63
|
|
IPPROTO_ARGUS = 0xd
|
|
IPPROTO_AX25 = 0x5d
|
|
IPPROTO_BHA = 0x31
|
|
IPPROTO_BLT = 0x1e
|
|
IPPROTO_BRSATMON = 0x4c
|
|
IPPROTO_CARP = 0x70
|
|
IPPROTO_CFTP = 0x3e
|
|
IPPROTO_CHAOS = 0x10
|
|
IPPROTO_CMTP = 0x26
|
|
IPPROTO_CPHB = 0x49
|
|
IPPROTO_CPNX = 0x48
|
|
IPPROTO_DDP = 0x25
|
|
IPPROTO_DGP = 0x56
|
|
IPPROTO_DIVERT = 0xfe
|
|
IPPROTO_DONE = 0x101
|
|
IPPROTO_DSTOPTS = 0x3c
|
|
IPPROTO_EGP = 0x8
|
|
IPPROTO_EMCON = 0xe
|
|
IPPROTO_ENCAP = 0x62
|
|
IPPROTO_EON = 0x50
|
|
IPPROTO_ESP = 0x32
|
|
IPPROTO_ETHERIP = 0x61
|
|
IPPROTO_FRAGMENT = 0x2c
|
|
IPPROTO_GGP = 0x3
|
|
IPPROTO_GMTP = 0x64
|
|
IPPROTO_GRE = 0x2f
|
|
IPPROTO_HELLO = 0x3f
|
|
IPPROTO_HMP = 0x14
|
|
IPPROTO_HOPOPTS = 0x0
|
|
IPPROTO_ICMP = 0x1
|
|
IPPROTO_ICMPV6 = 0x3a
|
|
IPPROTO_IDP = 0x16
|
|
IPPROTO_IDPR = 0x23
|
|
IPPROTO_IDRP = 0x2d
|
|
IPPROTO_IGMP = 0x2
|
|
IPPROTO_IGP = 0x55
|
|
IPPROTO_IGRP = 0x58
|
|
IPPROTO_IL = 0x28
|
|
IPPROTO_INLSP = 0x34
|
|
IPPROTO_INP = 0x20
|
|
IPPROTO_IP = 0x0
|
|
IPPROTO_IPCOMP = 0x6c
|
|
IPPROTO_IPCV = 0x47
|
|
IPPROTO_IPEIP = 0x5e
|
|
IPPROTO_IPIP = 0x4
|
|
IPPROTO_IPPC = 0x43
|
|
IPPROTO_IPV4 = 0x4
|
|
IPPROTO_IPV6 = 0x29
|
|
IPPROTO_IRTP = 0x1c
|
|
IPPROTO_KRYPTOLAN = 0x41
|
|
IPPROTO_LARP = 0x5b
|
|
IPPROTO_LEAF1 = 0x19
|
|
IPPROTO_LEAF2 = 0x1a
|
|
IPPROTO_MAX = 0x100
|
|
IPPROTO_MAXID = 0x34
|
|
IPPROTO_MEAS = 0x13
|
|
IPPROTO_MHRP = 0x30
|
|
IPPROTO_MICP = 0x5f
|
|
IPPROTO_MOBILE = 0x37
|
|
IPPROTO_MTP = 0x5c
|
|
IPPROTO_MUX = 0x12
|
|
IPPROTO_ND = 0x4d
|
|
IPPROTO_NHRP = 0x36
|
|
IPPROTO_NONE = 0x3b
|
|
IPPROTO_NSP = 0x1f
|
|
IPPROTO_NVPII = 0xb
|
|
IPPROTO_OSPFIGP = 0x59
|
|
IPPROTO_PFSYNC = 0xf0
|
|
IPPROTO_PGM = 0x71
|
|
IPPROTO_PIGP = 0x9
|
|
IPPROTO_PIM = 0x67
|
|
IPPROTO_PRM = 0x15
|
|
IPPROTO_PUP = 0xc
|
|
IPPROTO_PVP = 0x4b
|
|
IPPROTO_RAW = 0xff
|
|
IPPROTO_RCCMON = 0xa
|
|
IPPROTO_RDP = 0x1b
|
|
IPPROTO_ROUTING = 0x2b
|
|
IPPROTO_RSVP = 0x2e
|
|
IPPROTO_RVD = 0x42
|
|
IPPROTO_SATEXPAK = 0x40
|
|
IPPROTO_SATMON = 0x45
|
|
IPPROTO_SCCSP = 0x60
|
|
IPPROTO_SDRP = 0x2a
|
|
IPPROTO_SEP = 0x21
|
|
IPPROTO_SKIP = 0x39
|
|
IPPROTO_SRPC = 0x5a
|
|
IPPROTO_ST = 0x7
|
|
IPPROTO_SVMTP = 0x52
|
|
IPPROTO_SWIPE = 0x35
|
|
IPPROTO_TCF = 0x57
|
|
IPPROTO_TCP = 0x6
|
|
IPPROTO_TLSP = 0x38
|
|
IPPROTO_TP = 0x1d
|
|
IPPROTO_TPXX = 0x27
|
|
IPPROTO_TRUNK1 = 0x17
|
|
IPPROTO_TRUNK2 = 0x18
|
|
IPPROTO_TTP = 0x54
|
|
IPPROTO_UDP = 0x11
|
|
IPPROTO_UNKNOWN = 0x102
|
|
IPPROTO_VINES = 0x53
|
|
IPPROTO_VISA = 0x46
|
|
IPPROTO_VMTP = 0x51
|
|
IPPROTO_WBEXPAK = 0x4f
|
|
IPPROTO_WBMON = 0x4e
|
|
IPPROTO_WSN = 0x4a
|
|
IPPROTO_XNET = 0xf
|
|
IPPROTO_XTP = 0x24
|
|
IPV6_AUTOFLOWLABEL = 0x3b
|
|
IPV6_BINDV6ONLY = 0x1b
|
|
IPV6_CHECKSUM = 0x1a
|
|
IPV6_DEFAULT_MULTICAST_HOPS = 0x1
|
|
IPV6_DEFAULT_MULTICAST_LOOP = 0x1
|
|
IPV6_DEFHLIM = 0x40
|
|
IPV6_DONTFRAG = 0x3e
|
|
IPV6_DSTOPTS = 0x32
|
|
IPV6_FAITH = 0x1d
|
|
IPV6_FLOWINFO_MASK = 0xffffff0f
|
|
IPV6_FLOWLABEL_MASK = 0xffff0f00
|
|
IPV6_FRAGTTL = 0x78
|
|
IPV6_FW_ADD = 0x1e
|
|
IPV6_FW_DEL = 0x1f
|
|
IPV6_FW_FLUSH = 0x20
|
|
IPV6_FW_GET = 0x22
|
|
IPV6_FW_ZERO = 0x21
|
|
IPV6_HLIMDEC = 0x1
|
|
IPV6_HOPLIMIT = 0x2f
|
|
IPV6_HOPOPTS = 0x31
|
|
IPV6_IPSEC_POLICY = 0x1c
|
|
IPV6_JOIN_GROUP = 0xc
|
|
IPV6_LEAVE_GROUP = 0xd
|
|
IPV6_MAXHLIM = 0xff
|
|
IPV6_MAXPACKET = 0xffff
|
|
IPV6_MINHLIM = 0x28
|
|
IPV6_MMTU = 0x500
|
|
IPV6_MSFILTER = 0x4a
|
|
IPV6_MULTICAST_HOPS = 0xa
|
|
IPV6_MULTICAST_IF = 0x9
|
|
IPV6_MULTICAST_LOOP = 0xb
|
|
IPV6_NEXTHOP = 0x30
|
|
IPV6_PATHMTU = 0x2c
|
|
IPV6_PKTINFO = 0x2e
|
|
IPV6_PKTOPTIONS = 0x34
|
|
IPV6_PORTRANGE = 0xe
|
|
IPV6_PORTRANGE_DEFAULT = 0x0
|
|
IPV6_PORTRANGE_HIGH = 0x1
|
|
IPV6_PORTRANGE_LOW = 0x2
|
|
IPV6_PREFER_TEMPADDR = 0x3f
|
|
IPV6_RECVDSTOPTS = 0x28
|
|
IPV6_RECVHOPLIMIT = 0x25
|
|
IPV6_RECVHOPOPTS = 0x27
|
|
IPV6_RECVPATHMTU = 0x2b
|
|
IPV6_RECVPKTINFO = 0x24
|
|
IPV6_RECVRTHDR = 0x26
|
|
IPV6_RECVTCLASS = 0x39
|
|
IPV6_RTHDR = 0x33
|
|
IPV6_RTHDRDSTOPTS = 0x23
|
|
IPV6_RTHDR_LOOSE = 0x0
|
|
IPV6_RTHDR_STRICT = 0x1
|
|
IPV6_RTHDR_TYPE_0 = 0x0
|
|
IPV6_SOCKOPT_RESERVED1 = 0x3
|
|
IPV6_TCLASS = 0x3d
|
|
IPV6_UNICAST_HOPS = 0x4
|
|
IPV6_USE_MIN_MTU = 0x2a
|
|
IPV6_V6ONLY = 0x1b
|
|
IPV6_VERSION = 0x60
|
|
IPV6_VERSION_MASK = 0xf0
|
|
IP_ADD_MEMBERSHIP = 0xc
|
|
IP_DEFAULT_MULTICAST_LOOP = 0x1
|
|
IP_DEFAULT_MULTICAST_TTL = 0x1
|
|
IP_DF = 0x4000
|
|
IP_DROP_MEMBERSHIP = 0xd
|
|
IP_DUMMYNET_CONFIGURE = 0x3c
|
|
IP_DUMMYNET_DEL = 0x3d
|
|
IP_DUMMYNET_FLUSH = 0x3e
|
|
IP_DUMMYNET_GET = 0x40
|
|
IP_FAITH = 0x16
|
|
IP_FW_ADD = 0x32
|
|
IP_FW_DEL = 0x33
|
|
IP_FW_FLUSH = 0x34
|
|
IP_FW_GET = 0x36
|
|
IP_FW_RESETLOG = 0x37
|
|
IP_FW_X = 0x31
|
|
IP_FW_ZERO = 0x35
|
|
IP_HDRINCL = 0x2
|
|
IP_IPSEC_POLICY = 0x15
|
|
IP_MAXPACKET = 0xffff
|
|
IP_MAX_MEMBERSHIPS = 0x14
|
|
IP_MF = 0x2000
|
|
IP_MINTTL = 0x42
|
|
IP_MSS = 0x240
|
|
IP_MULTICAST_IF = 0x9
|
|
IP_MULTICAST_LOOP = 0xb
|
|
IP_MULTICAST_TTL = 0xa
|
|
IP_MULTICAST_VIF = 0xe
|
|
IP_OFFMASK = 0x1fff
|
|
IP_OPTIONS = 0x1
|
|
IP_PORTRANGE = 0x13
|
|
IP_PORTRANGE_DEFAULT = 0x0
|
|
IP_PORTRANGE_HIGH = 0x1
|
|
IP_PORTRANGE_LOW = 0x2
|
|
IP_RECVDSTADDR = 0x7
|
|
IP_RECVIF = 0x14
|
|
IP_RECVOPTS = 0x5
|
|
IP_RECVRETOPTS = 0x6
|
|
IP_RECVTTL = 0x41
|
|
IP_RETOPTS = 0x8
|
|
IP_RF = 0x8000
|
|
IP_RSVP_OFF = 0x10
|
|
IP_RSVP_ON = 0xf
|
|
IP_RSVP_VIF_OFF = 0x12
|
|
IP_RSVP_VIF_ON = 0x11
|
|
IP_TOS = 0x3
|
|
IP_TTL = 0x4
|
|
ISIG = 0x80
|
|
ISTRIP = 0x20
|
|
IXANY = 0x800
|
|
IXOFF = 0x400
|
|
IXON = 0x200
|
|
KERN_HOSTNAME = 0xa
|
|
KERN_OSRELEASE = 0x2
|
|
KERN_OSTYPE = 0x1
|
|
KERN_VERSION = 0x4
|
|
LOCK_EX = 0x2
|
|
LOCK_NB = 0x4
|
|
LOCK_SH = 0x1
|
|
LOCK_UN = 0x8
|
|
MADV_AUTOSYNC = 0x7
|
|
MADV_CONTROL_END = 0xb
|
|
MADV_CONTROL_START = 0xa
|
|
MADV_CORE = 0x9
|
|
MADV_DONTNEED = 0x4
|
|
MADV_FREE = 0x5
|
|
MADV_INVAL = 0xa
|
|
MADV_NOCORE = 0x8
|
|
MADV_NORMAL = 0x0
|
|
MADV_NOSYNC = 0x6
|
|
MADV_RANDOM = 0x1
|
|
MADV_SEQUENTIAL = 0x2
|
|
MADV_SETMAP = 0xb
|
|
MADV_WILLNEED = 0x3
|
|
MAP_ANON = 0x1000
|
|
MAP_ANONYMOUS = 0x1000
|
|
MAP_COPY = 0x2
|
|
MAP_FILE = 0x0
|
|
MAP_FIXED = 0x10
|
|
MAP_HASSEMAPHORE = 0x200
|
|
MAP_INHERIT = 0x80
|
|
MAP_NOCORE = 0x20000
|
|
MAP_NOEXTEND = 0x100
|
|
MAP_NORESERVE = 0x40
|
|
MAP_NOSYNC = 0x800
|
|
MAP_PRIVATE = 0x2
|
|
MAP_RENAME = 0x20
|
|
MAP_SHARED = 0x1
|
|
MAP_SIZEALIGN = 0x40000
|
|
MAP_STACK = 0x400
|
|
MAP_TRYFIXED = 0x10000
|
|
MAP_VPAGETABLE = 0x2000
|
|
MCL_CURRENT = 0x1
|
|
MCL_FUTURE = 0x2
|
|
MNT_ASYNC = 0x40
|
|
MNT_AUTOMOUNTED = 0x20
|
|
MNT_CMDFLAGS = 0xf0000
|
|
MNT_DEFEXPORTED = 0x200
|
|
MNT_DELEXPORT = 0x20000
|
|
MNT_EXKERB = 0x800
|
|
MNT_EXPORTANON = 0x400
|
|
MNT_EXPORTED = 0x100
|
|
MNT_EXPUBLIC = 0x20000000
|
|
MNT_EXRDONLY = 0x80
|
|
MNT_FORCE = 0x80000
|
|
MNT_IGNORE = 0x800000
|
|
MNT_LAZY = 0x4
|
|
MNT_LOCAL = 0x1000
|
|
MNT_NOATIME = 0x10000000
|
|
MNT_NOCLUSTERR = 0x40000000
|
|
MNT_NOCLUSTERW = 0x80000000
|
|
MNT_NODEV = 0x10
|
|
MNT_NOEXEC = 0x4
|
|
MNT_NOSUID = 0x8
|
|
MNT_NOSYMFOLLOW = 0x400000
|
|
MNT_NOWAIT = 0x2
|
|
MNT_QUOTA = 0x2000
|
|
MNT_RDONLY = 0x1
|
|
MNT_RELOAD = 0x40000
|
|
MNT_ROOTFS = 0x4000
|
|
MNT_SOFTDEP = 0x200000
|
|
MNT_SUIDDIR = 0x100000
|
|
MNT_SYNCHRONOUS = 0x2
|
|
MNT_TRIM = 0x1000000
|
|
MNT_UPDATE = 0x10000
|
|
MNT_USER = 0x8000
|
|
MNT_VISFLAGMASK = 0xf1f0ffff
|
|
MNT_WAIT = 0x1
|
|
MSG_CMSG_CLOEXEC = 0x1000
|
|
MSG_CTRUNC = 0x20
|
|
MSG_DONTROUTE = 0x4
|
|
MSG_DONTWAIT = 0x80
|
|
MSG_EOF = 0x100
|
|
MSG_EOR = 0x8
|
|
MSG_FBLOCKING = 0x10000
|
|
MSG_FMASK = 0xffff0000
|
|
MSG_FNONBLOCKING = 0x20000
|
|
MSG_NOSIGNAL = 0x400
|
|
MSG_OOB = 0x1
|
|
MSG_PEEK = 0x2
|
|
MSG_SYNC = 0x800
|
|
MSG_TRUNC = 0x10
|
|
MSG_UNUSED09 = 0x200
|
|
MSG_WAITALL = 0x40
|
|
MS_ASYNC = 0x1
|
|
MS_INVALIDATE = 0x2
|
|
MS_SYNC = 0x0
|
|
NAME_MAX = 0xff
|
|
NET_RT_DUMP = 0x1
|
|
NET_RT_FLAGS = 0x2
|
|
NET_RT_IFLIST = 0x3
|
|
NET_RT_MAXID = 0x4
|
|
NOFLSH = 0x80000000
|
|
NOKERNINFO = 0x2000000
|
|
NOTE_ATTRIB = 0x8
|
|
NOTE_CHILD = 0x4
|
|
NOTE_DELETE = 0x1
|
|
NOTE_EXEC = 0x20000000
|
|
NOTE_EXIT = 0x80000000
|
|
NOTE_EXTEND = 0x4
|
|
NOTE_FFAND = 0x40000000
|
|
NOTE_FFCOPY = 0xc0000000
|
|
NOTE_FFCTRLMASK = 0xc0000000
|
|
NOTE_FFLAGSMASK = 0xffffff
|
|
NOTE_FFNOP = 0x0
|
|
NOTE_FFOR = 0x80000000
|
|
NOTE_FORK = 0x40000000
|
|
NOTE_LINK = 0x10
|
|
NOTE_LOWAT = 0x1
|
|
NOTE_OOB = 0x2
|
|
NOTE_PCTRLMASK = 0xf0000000
|
|
NOTE_PDATAMASK = 0xfffff
|
|
NOTE_RENAME = 0x20
|
|
NOTE_REVOKE = 0x40
|
|
NOTE_TRACK = 0x1
|
|
NOTE_TRACKERR = 0x2
|
|
NOTE_TRIGGER = 0x1000000
|
|
NOTE_WRITE = 0x2
|
|
OCRNL = 0x10
|
|
ONLCR = 0x2
|
|
ONLRET = 0x40
|
|
ONOCR = 0x20
|
|
ONOEOT = 0x8
|
|
OPOST = 0x1
|
|
OXTABS = 0x4
|
|
O_ACCMODE = 0x3
|
|
O_APPEND = 0x8
|
|
O_ASYNC = 0x40
|
|
O_CLOEXEC = 0x20000
|
|
O_CREAT = 0x200
|
|
O_DIRECT = 0x10000
|
|
O_DIRECTORY = 0x8000000
|
|
O_EXCL = 0x800
|
|
O_EXLOCK = 0x20
|
|
O_FAPPEND = 0x100000
|
|
O_FASYNCWRITE = 0x800000
|
|
O_FBLOCKING = 0x40000
|
|
O_FMASK = 0xfc0000
|
|
O_FNONBLOCKING = 0x80000
|
|
O_FOFFSET = 0x200000
|
|
O_FSYNC = 0x80
|
|
O_FSYNCWRITE = 0x400000
|
|
O_NDELAY = 0x4
|
|
O_NOCTTY = 0x8000
|
|
O_NOFOLLOW = 0x100
|
|
O_NONBLOCK = 0x4
|
|
O_RDONLY = 0x0
|
|
O_RDWR = 0x2
|
|
O_SHLOCK = 0x10
|
|
O_SYNC = 0x80
|
|
O_TRUNC = 0x400
|
|
O_WRONLY = 0x1
|
|
PARENB = 0x1000
|
|
PARMRK = 0x8
|
|
PARODD = 0x2000
|
|
PENDIN = 0x20000000
|
|
PRIO_PGRP = 0x1
|
|
PRIO_PROCESS = 0x0
|
|
PRIO_USER = 0x2
|
|
PROT_EXEC = 0x4
|
|
PROT_NONE = 0x0
|
|
PROT_READ = 0x1
|
|
PROT_WRITE = 0x2
|
|
RLIMIT_AS = 0xa
|
|
RLIMIT_CORE = 0x4
|
|
RLIMIT_CPU = 0x0
|
|
RLIMIT_DATA = 0x2
|
|
RLIMIT_FSIZE = 0x1
|
|
RLIMIT_MEMLOCK = 0x6
|
|
RLIMIT_NOFILE = 0x8
|
|
RLIMIT_NPROC = 0x7
|
|
RLIMIT_RSS = 0x5
|
|
RLIMIT_STACK = 0x3
|
|
RLIM_INFINITY = 0x7fffffffffffffff
|
|
RTAX_AUTHOR = 0x6
|
|
RTAX_BRD = 0x7
|
|
RTAX_DST = 0x0
|
|
RTAX_GATEWAY = 0x1
|
|
RTAX_GENMASK = 0x3
|
|
RTAX_IFA = 0x5
|
|
RTAX_IFP = 0x4
|
|
RTAX_MAX = 0xb
|
|
RTAX_MPLS1 = 0x8
|
|
RTAX_MPLS2 = 0x9
|
|
RTAX_MPLS3 = 0xa
|
|
RTAX_NETMASK = 0x2
|
|
RTA_AUTHOR = 0x40
|
|
RTA_BRD = 0x80
|
|
RTA_DST = 0x1
|
|
RTA_GATEWAY = 0x2
|
|
RTA_GENMASK = 0x8
|
|
RTA_IFA = 0x20
|
|
RTA_IFP = 0x10
|
|
RTA_MPLS1 = 0x100
|
|
RTA_MPLS2 = 0x200
|
|
RTA_MPLS3 = 0x400
|
|
RTA_NETMASK = 0x4
|
|
RTF_BLACKHOLE = 0x1000
|
|
RTF_BROADCAST = 0x400000
|
|
RTF_CLONING = 0x100
|
|
RTF_DONE = 0x40
|
|
RTF_DYNAMIC = 0x10
|
|
RTF_GATEWAY = 0x2
|
|
RTF_HOST = 0x4
|
|
RTF_LLINFO = 0x400
|
|
RTF_LOCAL = 0x200000
|
|
RTF_MODIFIED = 0x20
|
|
RTF_MPLSOPS = 0x1000000
|
|
RTF_MULTICAST = 0x800000
|
|
RTF_PINNED = 0x100000
|
|
RTF_PRCLONING = 0x10000
|
|
RTF_PROTO1 = 0x8000
|
|
RTF_PROTO2 = 0x4000
|
|
RTF_PROTO3 = 0x40000
|
|
RTF_REJECT = 0x8
|
|
RTF_STATIC = 0x800
|
|
RTF_UP = 0x1
|
|
RTF_WASCLONED = 0x20000
|
|
RTF_XRESOLVE = 0x200
|
|
RTM_ADD = 0x1
|
|
RTM_CHANGE = 0x3
|
|
RTM_DELADDR = 0xd
|
|
RTM_DELETE = 0x2
|
|
RTM_DELMADDR = 0x10
|
|
RTM_GET = 0x4
|
|
RTM_IEEE80211 = 0x12
|
|
RTM_IFANNOUNCE = 0x11
|
|
RTM_IFINFO = 0xe
|
|
RTM_LOCK = 0x8
|
|
RTM_LOSING = 0x5
|
|
RTM_MISS = 0x7
|
|
RTM_NEWADDR = 0xc
|
|
RTM_NEWMADDR = 0xf
|
|
RTM_OLDADD = 0x9
|
|
RTM_OLDDEL = 0xa
|
|
RTM_REDIRECT = 0x6
|
|
RTM_RESOLVE = 0xb
|
|
RTM_RTTUNIT = 0xf4240
|
|
RTM_VERSION = 0x6
|
|
RTV_EXPIRE = 0x4
|
|
RTV_HOPCOUNT = 0x2
|
|
RTV_IWCAPSEGS = 0x400
|
|
RTV_IWMAXSEGS = 0x200
|
|
RTV_MSL = 0x100
|
|
RTV_MTU = 0x1
|
|
RTV_RPIPE = 0x8
|
|
RTV_RTT = 0x40
|
|
RTV_RTTVAR = 0x80
|
|
RTV_SPIPE = 0x10
|
|
RTV_SSTHRESH = 0x20
|
|
RUSAGE_CHILDREN = -0x1
|
|
RUSAGE_SELF = 0x0
|
|
SCM_CREDS = 0x3
|
|
SCM_RIGHTS = 0x1
|
|
SCM_TIMESTAMP = 0x2
|
|
SHUT_RD = 0x0
|
|
SHUT_RDWR = 0x2
|
|
SHUT_WR = 0x1
|
|
SIOCADDMULTI = 0x80206931
|
|
SIOCADDRT = 0x8040720a
|
|
SIOCAIFADDR = 0x8040691a
|
|
SIOCALIFADDR = 0x8118691b
|
|
SIOCATMARK = 0x40047307
|
|
SIOCDELMULTI = 0x80206932
|
|
SIOCDELRT = 0x8040720b
|
|
SIOCDIFADDR = 0x80206919
|
|
SIOCDIFPHYADDR = 0x80206949
|
|
SIOCDLIFADDR = 0x8118691d
|
|
SIOCGDRVSPEC = 0xc028697b
|
|
SIOCGETSGCNT = 0xc0207210
|
|
SIOCGETVIFCNT = 0xc028720f
|
|
SIOCGHIWAT = 0x40047301
|
|
SIOCGIFADDR = 0xc0206921
|
|
SIOCGIFBRDADDR = 0xc0206923
|
|
SIOCGIFCAP = 0xc020691f
|
|
SIOCGIFCONF = 0xc0106924
|
|
SIOCGIFDATA = 0xc0206926
|
|
SIOCGIFDSTADDR = 0xc0206922
|
|
SIOCGIFFLAGS = 0xc0206911
|
|
SIOCGIFGENERIC = 0xc020693a
|
|
SIOCGIFGMEMB = 0xc028698a
|
|
SIOCGIFINDEX = 0xc0206920
|
|
SIOCGIFMEDIA = 0xc0306938
|
|
SIOCGIFMETRIC = 0xc0206917
|
|
SIOCGIFMTU = 0xc0206933
|
|
SIOCGIFNETMASK = 0xc0206925
|
|
SIOCGIFPDSTADDR = 0xc0206948
|
|
SIOCGIFPHYS = 0xc0206935
|
|
SIOCGIFPOLLCPU = 0xc020697e
|
|
SIOCGIFPSRCADDR = 0xc0206947
|
|
SIOCGIFSTATUS = 0xc331693b
|
|
SIOCGIFTSOLEN = 0xc0206980
|
|
SIOCGLIFADDR = 0xc118691c
|
|
SIOCGLIFPHYADDR = 0xc118694b
|
|
SIOCGLOWAT = 0x40047303
|
|
SIOCGPGRP = 0x40047309
|
|
SIOCGPRIVATE_0 = 0xc0206950
|
|
SIOCGPRIVATE_1 = 0xc0206951
|
|
SIOCIFCREATE = 0xc020697a
|
|
SIOCIFCREATE2 = 0xc020697c
|
|
SIOCIFDESTROY = 0x80206979
|
|
SIOCIFGCLONERS = 0xc0106978
|
|
SIOCSDRVSPEC = 0x8028697b
|
|
SIOCSHIWAT = 0x80047300
|
|
SIOCSIFADDR = 0x8020690c
|
|
SIOCSIFBRDADDR = 0x80206913
|
|
SIOCSIFCAP = 0x8020691e
|
|
SIOCSIFDSTADDR = 0x8020690e
|
|
SIOCSIFFLAGS = 0x80206910
|
|
SIOCSIFGENERIC = 0x80206939
|
|
SIOCSIFLLADDR = 0x8020693c
|
|
SIOCSIFMEDIA = 0xc0206937
|
|
SIOCSIFMETRIC = 0x80206918
|
|
SIOCSIFMTU = 0x80206934
|
|
SIOCSIFNAME = 0x80206928
|
|
SIOCSIFNETMASK = 0x80206916
|
|
SIOCSIFPHYADDR = 0x80406946
|
|
SIOCSIFPHYS = 0x80206936
|
|
SIOCSIFPOLLCPU = 0x8020697d
|
|
SIOCSIFTSOLEN = 0x8020697f
|
|
SIOCSLIFPHYADDR = 0x8118694a
|
|
SIOCSLOWAT = 0x80047302
|
|
SIOCSPGRP = 0x80047308
|
|
SOCK_CLOEXEC = 0x10000000
|
|
SOCK_DGRAM = 0x2
|
|
SOCK_MAXADDRLEN = 0xff
|
|
SOCK_NONBLOCK = 0x20000000
|
|
SOCK_RAW = 0x3
|
|
SOCK_RDM = 0x4
|
|
SOCK_SEQPACKET = 0x5
|
|
SOCK_STREAM = 0x1
|
|
SOL_SOCKET = 0xffff
|
|
SOMAXCONN = 0x80
|
|
SO_ACCEPTCONN = 0x2
|
|
SO_ACCEPTFILTER = 0x1000
|
|
SO_BROADCAST = 0x20
|
|
SO_CPUHINT = 0x1030
|
|
SO_DEBUG = 0x1
|
|
SO_DONTROUTE = 0x10
|
|
SO_ERROR = 0x1007
|
|
SO_KEEPALIVE = 0x8
|
|
SO_LINGER = 0x80
|
|
SO_NOSIGPIPE = 0x800
|
|
SO_OOBINLINE = 0x100
|
|
SO_RCVBUF = 0x1002
|
|
SO_RCVLOWAT = 0x1004
|
|
SO_RCVTIMEO = 0x1006
|
|
SO_REUSEADDR = 0x4
|
|
SO_REUSEPORT = 0x200
|
|
SO_SNDBUF = 0x1001
|
|
SO_SNDLOWAT = 0x1003
|
|
SO_SNDSPACE = 0x100a
|
|
SO_SNDTIMEO = 0x1005
|
|
SO_TIMESTAMP = 0x400
|
|
SO_TYPE = 0x1008
|
|
SO_USELOOPBACK = 0x40
|
|
S_BLKSIZE = 0x200
|
|
S_IEXEC = 0x40
|
|
S_IFBLK = 0x6000
|
|
S_IFCHR = 0x2000
|
|
S_IFDB = 0x9000
|
|
S_IFDIR = 0x4000
|
|
S_IFIFO = 0x1000
|
|
S_IFLNK = 0xa000
|
|
S_IFMT = 0xf000
|
|
S_IFREG = 0x8000
|
|
S_IFSOCK = 0xc000
|
|
S_IFWHT = 0xe000
|
|
S_IREAD = 0x100
|
|
S_IRGRP = 0x20
|
|
S_IROTH = 0x4
|
|
S_IRUSR = 0x100
|
|
S_IRWXG = 0x38
|
|
S_IRWXO = 0x7
|
|
S_IRWXU = 0x1c0
|
|
S_ISGID = 0x400
|
|
S_ISTXT = 0x200
|
|
S_ISUID = 0x800
|
|
S_ISVTX = 0x200
|
|
S_IWGRP = 0x10
|
|
S_IWOTH = 0x2
|
|
S_IWRITE = 0x80
|
|
S_IWUSR = 0x80
|
|
S_IXGRP = 0x8
|
|
S_IXOTH = 0x1
|
|
S_IXUSR = 0x40
|
|
TCIFLUSH = 0x1
|
|
TCIOFF = 0x3
|
|
TCIOFLUSH = 0x3
|
|
TCION = 0x4
|
|
TCOFLUSH = 0x2
|
|
TCOOFF = 0x1
|
|
TCOON = 0x2
|
|
TCP_FASTKEEP = 0x80
|
|
TCP_KEEPCNT = 0x400
|
|
TCP_KEEPIDLE = 0x100
|
|
TCP_KEEPINIT = 0x20
|
|
TCP_KEEPINTVL = 0x200
|
|
TCP_MAXBURST = 0x4
|
|
TCP_MAXHLEN = 0x3c
|
|
TCP_MAXOLEN = 0x28
|
|
TCP_MAXSEG = 0x2
|
|
TCP_MAXWIN = 0xffff
|
|
TCP_MAX_WINSHIFT = 0xe
|
|
TCP_MINMSS = 0x100
|
|
TCP_MIN_WINSHIFT = 0x5
|
|
TCP_MSS = 0x200
|
|
TCP_NODELAY = 0x1
|
|
TCP_NOOPT = 0x8
|
|
TCP_NOPUSH = 0x4
|
|
TCP_SIGNATURE_ENABLE = 0x10
|
|
TCSAFLUSH = 0x2
|
|
TIOCCBRK = 0x2000747a
|
|
TIOCCDTR = 0x20007478
|
|
TIOCCONS = 0x80047462
|
|
TIOCDCDTIMESTAMP = 0x40107458
|
|
TIOCDRAIN = 0x2000745e
|
|
TIOCEXCL = 0x2000740d
|
|
TIOCEXT = 0x80047460
|
|
TIOCFLUSH = 0x80047410
|
|
TIOCGDRAINWAIT = 0x40047456
|
|
TIOCGETA = 0x402c7413
|
|
TIOCGETD = 0x4004741a
|
|
TIOCGPGRP = 0x40047477
|
|
TIOCGSID = 0x40047463
|
|
TIOCGSIZE = 0x40087468
|
|
TIOCGWINSZ = 0x40087468
|
|
TIOCISPTMASTER = 0x20007455
|
|
TIOCMBIC = 0x8004746b
|
|
TIOCMBIS = 0x8004746c
|
|
TIOCMGDTRWAIT = 0x4004745a
|
|
TIOCMGET = 0x4004746a
|
|
TIOCMODG = 0x40047403
|
|
TIOCMODS = 0x80047404
|
|
TIOCMSDTRWAIT = 0x8004745b
|
|
TIOCMSET = 0x8004746d
|
|
TIOCM_CAR = 0x40
|
|
TIOCM_CD = 0x40
|
|
TIOCM_CTS = 0x20
|
|
TIOCM_DSR = 0x100
|
|
TIOCM_DTR = 0x2
|
|
TIOCM_LE = 0x1
|
|
TIOCM_RI = 0x80
|
|
TIOCM_RNG = 0x80
|
|
TIOCM_RTS = 0x4
|
|
TIOCM_SR = 0x10
|
|
TIOCM_ST = 0x8
|
|
TIOCNOTTY = 0x20007471
|
|
TIOCNXCL = 0x2000740e
|
|
TIOCOUTQ = 0x40047473
|
|
TIOCPKT = 0x80047470
|
|
TIOCPKT_DATA = 0x0
|
|
TIOCPKT_DOSTOP = 0x20
|
|
TIOCPKT_FLUSHREAD = 0x1
|
|
TIOCPKT_FLUSHWRITE = 0x2
|
|
TIOCPKT_IOCTL = 0x40
|
|
TIOCPKT_NOSTOP = 0x10
|
|
TIOCPKT_START = 0x8
|
|
TIOCPKT_STOP = 0x4
|
|
TIOCREMOTE = 0x80047469
|
|
TIOCSBRK = 0x2000747b
|
|
TIOCSCTTY = 0x20007461
|
|
TIOCSDRAINWAIT = 0x80047457
|
|
TIOCSDTR = 0x20007479
|
|
TIOCSETA = 0x802c7414
|
|
TIOCSETAF = 0x802c7416
|
|
TIOCSETAW = 0x802c7415
|
|
TIOCSETD = 0x8004741b
|
|
TIOCSIG = 0x2000745f
|
|
TIOCSPGRP = 0x80047476
|
|
TIOCSSIZE = 0x80087467
|
|
TIOCSTART = 0x2000746e
|
|
TIOCSTAT = 0x20007465
|
|
TIOCSTI = 0x80017472
|
|
TIOCSTOP = 0x2000746f
|
|
TIOCSWINSZ = 0x80087467
|
|
TIOCTIMESTAMP = 0x40107459
|
|
TIOCUCNTL = 0x80047466
|
|
TOSTOP = 0x400000
|
|
VCHECKPT = 0x13
|
|
VDISCARD = 0xf
|
|
VDSUSP = 0xb
|
|
VEOF = 0x0
|
|
VEOL = 0x1
|
|
VEOL2 = 0x2
|
|
VERASE = 0x3
|
|
VERASE2 = 0x7
|
|
VINTR = 0x8
|
|
VKILL = 0x5
|
|
VLNEXT = 0xe
|
|
VMIN = 0x10
|
|
VM_BCACHE_SIZE_MAX = 0x0
|
|
VM_SWZONE_SIZE_MAX = 0x4000000000
|
|
VQUIT = 0x9
|
|
VREPRINT = 0x6
|
|
VSTART = 0xc
|
|
VSTATUS = 0x12
|
|
VSTOP = 0xd
|
|
VSUSP = 0xa
|
|
VTIME = 0x11
|
|
VWERASE = 0x4
|
|
WCONTINUED = 0x4
|
|
WCOREFLAG = 0x80
|
|
WLINUXCLONE = 0x80000000
|
|
WNOHANG = 0x1
|
|
WSTOPPED = 0x7f
|
|
WUNTRACED = 0x2
|
|
)
|
|
|
|
// Errors
|
|
const (
|
|
E2BIG = syscall.Errno(0x7)
|
|
EACCES = syscall.Errno(0xd)
|
|
EADDRINUSE = syscall.Errno(0x30)
|
|
EADDRNOTAVAIL = syscall.Errno(0x31)
|
|
EAFNOSUPPORT = syscall.Errno(0x2f)
|
|
EAGAIN = syscall.Errno(0x23)
|
|
EALREADY = syscall.Errno(0x25)
|
|
EASYNC = syscall.Errno(0x63)
|
|
EAUTH = syscall.Errno(0x50)
|
|
EBADF = syscall.Errno(0x9)
|
|
EBADMSG = syscall.Errno(0x59)
|
|
EBADRPC = syscall.Errno(0x48)
|
|
EBUSY = syscall.Errno(0x10)
|
|
ECANCELED = syscall.Errno(0x55)
|
|
ECHILD = syscall.Errno(0xa)
|
|
ECONNABORTED = syscall.Errno(0x35)
|
|
ECONNREFUSED = syscall.Errno(0x3d)
|
|
ECONNRESET = syscall.Errno(0x36)
|
|
EDEADLK = syscall.Errno(0xb)
|
|
EDESTADDRREQ = syscall.Errno(0x27)
|
|
EDOM = syscall.Errno(0x21)
|
|
EDOOFUS = syscall.Errno(0x58)
|
|
EDQUOT = syscall.Errno(0x45)
|
|
EEXIST = syscall.Errno(0x11)
|
|
EFAULT = syscall.Errno(0xe)
|
|
EFBIG = syscall.Errno(0x1b)
|
|
EFTYPE = syscall.Errno(0x4f)
|
|
EHOSTDOWN = syscall.Errno(0x40)
|
|
EHOSTUNREACH = syscall.Errno(0x41)
|
|
EIDRM = syscall.Errno(0x52)
|
|
EILSEQ = syscall.Errno(0x56)
|
|
EINPROGRESS = syscall.Errno(0x24)
|
|
EINTR = syscall.Errno(0x4)
|
|
EINVAL = syscall.Errno(0x16)
|
|
EIO = syscall.Errno(0x5)
|
|
EISCONN = syscall.Errno(0x38)
|
|
EISDIR = syscall.Errno(0x15)
|
|
ELAST = syscall.Errno(0x63)
|
|
ELOOP = syscall.Errno(0x3e)
|
|
EMFILE = syscall.Errno(0x18)
|
|
EMLINK = syscall.Errno(0x1f)
|
|
EMSGSIZE = syscall.Errno(0x28)
|
|
EMULTIHOP = syscall.Errno(0x5a)
|
|
ENAMETOOLONG = syscall.Errno(0x3f)
|
|
ENEEDAUTH = syscall.Errno(0x51)
|
|
ENETDOWN = syscall.Errno(0x32)
|
|
ENETRESET = syscall.Errno(0x34)
|
|
ENETUNREACH = syscall.Errno(0x33)
|
|
ENFILE = syscall.Errno(0x17)
|
|
ENOATTR = syscall.Errno(0x57)
|
|
ENOBUFS = syscall.Errno(0x37)
|
|
ENODEV = syscall.Errno(0x13)
|
|
ENOENT = syscall.Errno(0x2)
|
|
ENOEXEC = syscall.Errno(0x8)
|
|
ENOLCK = syscall.Errno(0x4d)
|
|
ENOLINK = syscall.Errno(0x5b)
|
|
ENOMEDIUM = syscall.Errno(0x5d)
|
|
ENOMEM = syscall.Errno(0xc)
|
|
ENOMSG = syscall.Errno(0x53)
|
|
ENOPROTOOPT = syscall.Errno(0x2a)
|
|
ENOSPC = syscall.Errno(0x1c)
|
|
ENOSYS = syscall.Errno(0x4e)
|
|
ENOTBLK = syscall.Errno(0xf)
|
|
ENOTCONN = syscall.Errno(0x39)
|
|
ENOTDIR = syscall.Errno(0x14)
|
|
ENOTEMPTY = syscall.Errno(0x42)
|
|
ENOTSOCK = syscall.Errno(0x26)
|
|
ENOTSUP = syscall.Errno(0x2d)
|
|
ENOTTY = syscall.Errno(0x19)
|
|
ENXIO = syscall.Errno(0x6)
|
|
EOPNOTSUPP = syscall.Errno(0x2d)
|
|
EOVERFLOW = syscall.Errno(0x54)
|
|
EPERM = syscall.Errno(0x1)
|
|
EPFNOSUPPORT = syscall.Errno(0x2e)
|
|
EPIPE = syscall.Errno(0x20)
|
|
EPROCLIM = syscall.Errno(0x43)
|
|
EPROCUNAVAIL = syscall.Errno(0x4c)
|
|
EPROGMISMATCH = syscall.Errno(0x4b)
|
|
EPROGUNAVAIL = syscall.Errno(0x4a)
|
|
EPROTO = syscall.Errno(0x5c)
|
|
EPROTONOSUPPORT = syscall.Errno(0x2b)
|
|
EPROTOTYPE = syscall.Errno(0x29)
|
|
ERANGE = syscall.Errno(0x22)
|
|
EREMOTE = syscall.Errno(0x47)
|
|
EROFS = syscall.Errno(0x1e)
|
|
ERPCMISMATCH = syscall.Errno(0x49)
|
|
ESHUTDOWN = syscall.Errno(0x3a)
|
|
ESOCKTNOSUPPORT = syscall.Errno(0x2c)
|
|
ESPIPE = syscall.Errno(0x1d)
|
|
ESRCH = syscall.Errno(0x3)
|
|
ESTALE = syscall.Errno(0x46)
|
|
ETIMEDOUT = syscall.Errno(0x3c)
|
|
ETOOMANYREFS = syscall.Errno(0x3b)
|
|
ETXTBSY = syscall.Errno(0x1a)
|
|
EUNUSED94 = syscall.Errno(0x5e)
|
|
EUNUSED95 = syscall.Errno(0x5f)
|
|
EUNUSED96 = syscall.Errno(0x60)
|
|
EUNUSED97 = syscall.Errno(0x61)
|
|
EUNUSED98 = syscall.Errno(0x62)
|
|
EUSERS = syscall.Errno(0x44)
|
|
EWOULDBLOCK = syscall.Errno(0x23)
|
|
EXDEV = syscall.Errno(0x12)
|
|
)
|
|
|
|
// Signals
|
|
const (
|
|
SIGABRT = syscall.Signal(0x6)
|
|
SIGALRM = syscall.Signal(0xe)
|
|
SIGBUS = syscall.Signal(0xa)
|
|
SIGCHLD = syscall.Signal(0x14)
|
|
SIGCKPT = syscall.Signal(0x21)
|
|
SIGCKPTEXIT = syscall.Signal(0x22)
|
|
SIGCONT = syscall.Signal(0x13)
|
|
SIGEMT = syscall.Signal(0x7)
|
|
SIGFPE = syscall.Signal(0x8)
|
|
SIGHUP = syscall.Signal(0x1)
|
|
SIGILL = syscall.Signal(0x4)
|
|
SIGINFO = syscall.Signal(0x1d)
|
|
SIGINT = syscall.Signal(0x2)
|
|
SIGIO = syscall.Signal(0x17)
|
|
SIGIOT = syscall.Signal(0x6)
|
|
SIGKILL = syscall.Signal(0x9)
|
|
SIGPIPE = syscall.Signal(0xd)
|
|
SIGPROF = syscall.Signal(0x1b)
|
|
SIGQUIT = syscall.Signal(0x3)
|
|
SIGSEGV = syscall.Signal(0xb)
|
|
SIGSTOP = syscall.Signal(0x11)
|
|
SIGSYS = syscall.Signal(0xc)
|
|
SIGTERM = syscall.Signal(0xf)
|
|
SIGTHR = syscall.Signal(0x20)
|
|
SIGTRAP = syscall.Signal(0x5)
|
|
SIGTSTP = syscall.Signal(0x12)
|
|
SIGTTIN = syscall.Signal(0x15)
|
|
SIGTTOU = syscall.Signal(0x16)
|
|
SIGURG = syscall.Signal(0x10)
|
|
SIGUSR1 = syscall.Signal(0x1e)
|
|
SIGUSR2 = syscall.Signal(0x1f)
|
|
SIGVTALRM = syscall.Signal(0x1a)
|
|
SIGWINCH = syscall.Signal(0x1c)
|
|
SIGXCPU = syscall.Signal(0x18)
|
|
SIGXFSZ = syscall.Signal(0x19)
|
|
)
|
|
|
|
// Error table
|
|
var errorList = [...]struct {
|
|
num syscall.Errno
|
|
name string
|
|
desc string
|
|
}{
|
|
{1, "EPERM", "operation not permitted"},
|
|
{2, "ENOENT", "no such file or directory"},
|
|
{3, "ESRCH", "no such process"},
|
|
{4, "EINTR", "interrupted system call"},
|
|
{5, "EIO", "input/output error"},
|
|
{6, "ENXIO", "device not configured"},
|
|
{7, "E2BIG", "argument list too long"},
|
|
{8, "ENOEXEC", "exec format error"},
|
|
{9, "EBADF", "bad file descriptor"},
|
|
{10, "ECHILD", "no child processes"},
|
|
{11, "EDEADLK", "resource deadlock avoided"},
|
|
{12, "ENOMEM", "cannot allocate memory"},
|
|
{13, "EACCES", "permission denied"},
|
|
{14, "EFAULT", "bad address"},
|
|
{15, "ENOTBLK", "block device required"},
|
|
{16, "EBUSY", "device busy"},
|
|
{17, "EEXIST", "file exists"},
|
|
{18, "EXDEV", "cross-device link"},
|
|
{19, "ENODEV", "operation not supported by device"},
|
|
{20, "ENOTDIR", "not a directory"},
|
|
{21, "EISDIR", "is a directory"},
|
|
{22, "EINVAL", "invalid argument"},
|
|
{23, "ENFILE", "too many open files in system"},
|
|
{24, "EMFILE", "too many open files"},
|
|
{25, "ENOTTY", "inappropriate ioctl for device"},
|
|
{26, "ETXTBSY", "text file busy"},
|
|
{27, "EFBIG", "file too large"},
|
|
{28, "ENOSPC", "no space left on device"},
|
|
{29, "ESPIPE", "illegal seek"},
|
|
{30, "EROFS", "read-only file system"},
|
|
{31, "EMLINK", "too many links"},
|
|
{32, "EPIPE", "broken pipe"},
|
|
{33, "EDOM", "numerical argument out of domain"},
|
|
{34, "ERANGE", "result too large"},
|
|
{35, "EWOULDBLOCK", "resource temporarily unavailable"},
|
|
{36, "EINPROGRESS", "operation now in progress"},
|
|
{37, "EALREADY", "operation already in progress"},
|
|
{38, "ENOTSOCK", "socket operation on non-socket"},
|
|
{39, "EDESTADDRREQ", "destination address required"},
|
|
{40, "EMSGSIZE", "message too long"},
|
|
{41, "EPROTOTYPE", "protocol wrong type for socket"},
|
|
{42, "ENOPROTOOPT", "protocol not available"},
|
|
{43, "EPROTONOSUPPORT", "protocol not supported"},
|
|
{44, "ESOCKTNOSUPPORT", "socket type not supported"},
|
|
{45, "EOPNOTSUPP", "operation not supported"},
|
|
{46, "EPFNOSUPPORT", "protocol family not supported"},
|
|
{47, "EAFNOSUPPORT", "address family not supported by protocol family"},
|
|
{48, "EADDRINUSE", "address already in use"},
|
|
{49, "EADDRNOTAVAIL", "can't assign requested address"},
|
|
{50, "ENETDOWN", "network is down"},
|
|
{51, "ENETUNREACH", "network is unreachable"},
|
|
{52, "ENETRESET", "network dropped connection on reset"},
|
|
{53, "ECONNABORTED", "software caused connection abort"},
|
|
{54, "ECONNRESET", "connection reset by peer"},
|
|
{55, "ENOBUFS", "no buffer space available"},
|
|
{56, "EISCONN", "socket is already connected"},
|
|
{57, "ENOTCONN", "socket is not connected"},
|
|
{58, "ESHUTDOWN", "can't send after socket shutdown"},
|
|
{59, "ETOOMANYREFS", "too many references: can't splice"},
|
|
{60, "ETIMEDOUT", "operation timed out"},
|
|
{61, "ECONNREFUSED", "connection refused"},
|
|
{62, "ELOOP", "too many levels of symbolic links"},
|
|
{63, "ENAMETOOLONG", "file name too long"},
|
|
{64, "EHOSTDOWN", "host is down"},
|
|
{65, "EHOSTUNREACH", "no route to host"},
|
|
{66, "ENOTEMPTY", "directory not empty"},
|
|
{67, "EPROCLIM", "too many processes"},
|
|
{68, "EUSERS", "too many users"},
|
|
{69, "EDQUOT", "disc quota exceeded"},
|
|
{70, "ESTALE", "stale NFS file handle"},
|
|
{71, "EREMOTE", "too many levels of remote in path"},
|
|
{72, "EBADRPC", "RPC struct is bad"},
|
|
{73, "ERPCMISMATCH", "RPC version wrong"},
|
|
{74, "EPROGUNAVAIL", "RPC prog. not avail"},
|
|
{75, "EPROGMISMATCH", "program version wrong"},
|
|
{76, "EPROCUNAVAIL", "bad procedure for program"},
|
|
{77, "ENOLCK", "no locks available"},
|
|
{78, "ENOSYS", "function not implemented"},
|
|
{79, "EFTYPE", "inappropriate file type or format"},
|
|
{80, "EAUTH", "authentication error"},
|
|
{81, "ENEEDAUTH", "need authenticator"},
|
|
{82, "EIDRM", "identifier removed"},
|
|
{83, "ENOMSG", "no message of desired type"},
|
|
{84, "EOVERFLOW", "value too large to be stored in data type"},
|
|
{85, "ECANCELED", "operation canceled"},
|
|
{86, "EILSEQ", "illegal byte sequence"},
|
|
{87, "ENOATTR", "attribute not found"},
|
|
{88, "EDOOFUS", "programming error"},
|
|
{89, "EBADMSG", "bad message"},
|
|
{90, "EMULTIHOP", "multihop attempted"},
|
|
{91, "ENOLINK", "link has been severed"},
|
|
{92, "EPROTO", "protocol error"},
|
|
{93, "ENOMEDIUM", "no medium found"},
|
|
{94, "EUNUSED94", "unknown error: 94"},
|
|
{95, "EUNUSED95", "unknown error: 95"},
|
|
{96, "EUNUSED96", "unknown error: 96"},
|
|
{97, "EUNUSED97", "unknown error: 97"},
|
|
{98, "EUNUSED98", "unknown error: 98"},
|
|
{99, "ELAST", "unknown error: 99"},
|
|
}
|
|
|
|
// Signal table
|
|
var signalList = [...]struct {
|
|
num syscall.Signal
|
|
name string
|
|
desc string
|
|
}{
|
|
{1, "SIGHUP", "hangup"},
|
|
{2, "SIGINT", "interrupt"},
|
|
{3, "SIGQUIT", "quit"},
|
|
{4, "SIGILL", "illegal instruction"},
|
|
{5, "SIGTRAP", "trace/BPT trap"},
|
|
{6, "SIGIOT", "abort trap"},
|
|
{7, "SIGEMT", "EMT trap"},
|
|
{8, "SIGFPE", "floating point exception"},
|
|
{9, "SIGKILL", "killed"},
|
|
{10, "SIGBUS", "bus error"},
|
|
{11, "SIGSEGV", "segmentation fault"},
|
|
{12, "SIGSYS", "bad system call"},
|
|
{13, "SIGPIPE", "broken pipe"},
|
|
{14, "SIGALRM", "alarm clock"},
|
|
{15, "SIGTERM", "terminated"},
|
|
{16, "SIGURG", "urgent I/O condition"},
|
|
{17, "SIGSTOP", "suspended (signal)"},
|
|
{18, "SIGTSTP", "suspended"},
|
|
{19, "SIGCONT", "continued"},
|
|
{20, "SIGCHLD", "child exited"},
|
|
{21, "SIGTTIN", "stopped (tty input)"},
|
|
{22, "SIGTTOU", "stopped (tty output)"},
|
|
{23, "SIGIO", "I/O possible"},
|
|
{24, "SIGXCPU", "cputime limit exceeded"},
|
|
{25, "SIGXFSZ", "filesize limit exceeded"},
|
|
{26, "SIGVTALRM", "virtual timer expired"},
|
|
{27, "SIGPROF", "profiling timer expired"},
|
|
{28, "SIGWINCH", "window size changes"},
|
|
{29, "SIGINFO", "information request"},
|
|
{30, "SIGUSR1", "user defined signal 1"},
|
|
{31, "SIGUSR2", "user defined signal 2"},
|
|
{32, "SIGTHR", "thread Scheduler"},
|
|
{33, "SIGCKPT", "checkPoint"},
|
|
{34, "SIGCKPTEXIT", "checkPointExit"},
|
|
}
|