...
Run Format

Source file src/syscall/zerrors_darwin_amd64.go

Documentation: syscall

     1  // mkerrors.sh -m64
     2  // Code generated by the command above; DO NOT EDIT.
     3  
     4  // Created by cgo -godefs - DO NOT EDIT
     5  // cgo -godefs -- -m64 _const.go
     6  
     7  // +build amd64,darwin
     8  
     9  package syscall
    10  
    11  const (
    12  	AF_APPLETALK                      = 0x10
    13  	AF_CCITT                          = 0xa
    14  	AF_CHAOS                          = 0x5
    15  	AF_CNT                            = 0x15
    16  	AF_COIP                           = 0x14
    17  	AF_DATAKIT                        = 0x9
    18  	AF_DECnet                         = 0xc
    19  	AF_DLI                            = 0xd
    20  	AF_E164                           = 0x1c
    21  	AF_ECMA                           = 0x8
    22  	AF_HYLINK                         = 0xf
    23  	AF_IEEE80211                      = 0x25
    24  	AF_IMPLINK                        = 0x3
    25  	AF_INET                           = 0x2
    26  	AF_INET6                          = 0x1e
    27  	AF_IPX                            = 0x17
    28  	AF_ISDN                           = 0x1c
    29  	AF_ISO                            = 0x7
    30  	AF_LAT                            = 0xe
    31  	AF_LINK                           = 0x12
    32  	AF_LOCAL                          = 0x1
    33  	AF_MAX                            = 0x26
    34  	AF_NATM                           = 0x1f
    35  	AF_NDRV                           = 0x1b
    36  	AF_NETBIOS                        = 0x21
    37  	AF_NS                             = 0x6
    38  	AF_OSI                            = 0x7
    39  	AF_PPP                            = 0x22
    40  	AF_PUP                            = 0x4
    41  	AF_RESERVED_36                    = 0x24
    42  	AF_ROUTE                          = 0x11
    43  	AF_SIP                            = 0x18
    44  	AF_SNA                            = 0xb
    45  	AF_SYSTEM                         = 0x20
    46  	AF_UNIX                           = 0x1
    47  	AF_UNSPEC                         = 0x0
    48  	B0                                = 0x0
    49  	B110                              = 0x6e
    50  	B115200                           = 0x1c200
    51  	B1200                             = 0x4b0
    52  	B134                              = 0x86
    53  	B14400                            = 0x3840
    54  	B150                              = 0x96
    55  	B1800                             = 0x708
    56  	B19200                            = 0x4b00
    57  	B200                              = 0xc8
    58  	B230400                           = 0x38400
    59  	B2400                             = 0x960
    60  	B28800                            = 0x7080
    61  	B300                              = 0x12c
    62  	B38400                            = 0x9600
    63  	B4800                             = 0x12c0
    64  	B50                               = 0x32
    65  	B57600                            = 0xe100
    66  	B600                              = 0x258
    67  	B7200                             = 0x1c20
    68  	B75                               = 0x4b
    69  	B76800                            = 0x12c00
    70  	B9600                             = 0x2580
    71  	BIOCFLUSH                         = 0x20004268
    72  	BIOCGBLEN                         = 0x40044266
    73  	BIOCGDLT                          = 0x4004426a
    74  	BIOCGDLTLIST                      = 0xc00c4279
    75  	BIOCGETIF                         = 0x4020426b
    76  	BIOCGHDRCMPLT                     = 0x40044274
    77  	BIOCGRSIG                         = 0x40044272
    78  	BIOCGRTIMEOUT                     = 0x4010426e
    79  	BIOCGSEESENT                      = 0x40044276
    80  	BIOCGSTATS                        = 0x4008426f
    81  	BIOCIMMEDIATE                     = 0x80044270
    82  	BIOCPROMISC                       = 0x20004269
    83  	BIOCSBLEN                         = 0xc0044266
    84  	BIOCSDLT                          = 0x80044278
    85  	BIOCSETF                          = 0x80104267
    86  	BIOCSETIF                         = 0x8020426c
    87  	BIOCSHDRCMPLT                     = 0x80044275
    88  	BIOCSRSIG                         = 0x80044273
    89  	BIOCSRTIMEOUT                     = 0x8010426d
    90  	BIOCSSEESENT                      = 0x80044277
    91  	BIOCVERSION                       = 0x40044271
    92  	BPF_A                             = 0x10
    93  	BPF_ABS                           = 0x20
    94  	BPF_ADD                           = 0x0
    95  	BPF_ALIGNMENT                     = 0x4
    96  	BPF_ALU                           = 0x4
    97  	BPF_AND                           = 0x50
    98  	BPF_B                             = 0x10
    99  	BPF_DIV                           = 0x30
   100  	BPF_H                             = 0x8
   101  	BPF_IMM                           = 0x0
   102  	BPF_IND                           = 0x40
   103  	BPF_JA                            = 0x0
   104  	BPF_JEQ                           = 0x10
   105  	BPF_JGE                           = 0x30
   106  	BPF_JGT                           = 0x20
   107  	BPF_JMP                           = 0x5
   108  	BPF_JSET                          = 0x40
   109  	BPF_K                             = 0x0
   110  	BPF_LD                            = 0x0
   111  	BPF_LDX                           = 0x1
   112  	BPF_LEN                           = 0x80
   113  	BPF_LSH                           = 0x60
   114  	BPF_MAJOR_VERSION                 = 0x1
   115  	BPF_MAXBUFSIZE                    = 0x80000
   116  	BPF_MAXINSNS                      = 0x200
   117  	BPF_MEM                           = 0x60
   118  	BPF_MEMWORDS                      = 0x10
   119  	BPF_MINBUFSIZE                    = 0x20
   120  	BPF_MINOR_VERSION                 = 0x1
   121  	BPF_MISC                          = 0x7
   122  	BPF_MSH                           = 0xa0
   123  	BPF_MUL                           = 0x20
   124  	BPF_NEG                           = 0x80
   125  	BPF_OR                            = 0x40
   126  	BPF_RELEASE                       = 0x30bb6
   127  	BPF_RET                           = 0x6
   128  	BPF_RSH                           = 0x70
   129  	BPF_ST                            = 0x2
   130  	BPF_STX                           = 0x3
   131  	BPF_SUB                           = 0x10
   132  	BPF_TAX                           = 0x0
   133  	BPF_TXA                           = 0x80
   134  	BPF_W                             = 0x0
   135  	BPF_X                             = 0x8
   136  	BRKINT                            = 0x2
   137  	CFLUSH                            = 0xf
   138  	CLOCAL                            = 0x8000
   139  	CREAD                             = 0x800
   140  	CS5                               = 0x0
   141  	CS6                               = 0x100
   142  	CS7                               = 0x200
   143  	CS8                               = 0x300
   144  	CSIZE                             = 0x300
   145  	CSTART                            = 0x11
   146  	CSTATUS                           = 0x14
   147  	CSTOP                             = 0x13
   148  	CSTOPB                            = 0x400
   149  	CSUSP                             = 0x1a
   150  	CTL_MAXNAME                       = 0xc
   151  	CTL_NET                           = 0x4
   152  	DLT_APPLE_IP_OVER_IEEE1394        = 0x8a
   153  	DLT_ARCNET                        = 0x7
   154  	DLT_ATM_CLIP                      = 0x13
   155  	DLT_ATM_RFC1483                   = 0xb
   156  	DLT_AX25                          = 0x3
   157  	DLT_CHAOS                         = 0x5
   158  	DLT_CHDLC                         = 0x68
   159  	DLT_C_HDLC                        = 0x68
   160  	DLT_EN10MB                        = 0x1
   161  	DLT_EN3MB                         = 0x2
   162  	DLT_FDDI                          = 0xa
   163  	DLT_IEEE802                       = 0x6
   164  	DLT_IEEE802_11                    = 0x69
   165  	DLT_IEEE802_11_RADIO              = 0x7f
   166  	DLT_IEEE802_11_RADIO_AVS          = 0xa3
   167  	DLT_LINUX_SLL                     = 0x71
   168  	DLT_LOOP                          = 0x6c
   169  	DLT_NULL                          = 0x0
   170  	DLT_PFLOG                         = 0x75
   171  	DLT_PFSYNC                        = 0x12
   172  	DLT_PPP                           = 0x9
   173  	DLT_PPP_BSDOS                     = 0x10
   174  	DLT_PPP_SERIAL                    = 0x32
   175  	DLT_PRONET                        = 0x4
   176  	DLT_RAW                           = 0xc
   177  	DLT_SLIP                          = 0x8
   178  	DLT_SLIP_BSDOS                    = 0xf
   179  	DT_BLK                            = 0x6
   180  	DT_CHR                            = 0x2
   181  	DT_DIR                            = 0x4
   182  	DT_FIFO                           = 0x1
   183  	DT_LNK                            = 0xa
   184  	DT_REG                            = 0x8
   185  	DT_SOCK                           = 0xc
   186  	DT_UNKNOWN                        = 0x0
   187  	DT_WHT                            = 0xe
   188  	ECHO                              = 0x8
   189  	ECHOCTL                           = 0x40
   190  	ECHOE                             = 0x2
   191  	ECHOK                             = 0x4
   192  	ECHOKE                            = 0x1
   193  	ECHONL                            = 0x10
   194  	ECHOPRT                           = 0x20
   195  	EVFILT_AIO                        = -0x3
   196  	EVFILT_FS                         = -0x9
   197  	EVFILT_MACHPORT                   = -0x8
   198  	EVFILT_PROC                       = -0x5
   199  	EVFILT_READ                       = -0x1
   200  	EVFILT_SIGNAL                     = -0x6
   201  	EVFILT_SYSCOUNT                   = 0xc
   202  	EVFILT_THREADMARKER               = 0xc
   203  	EVFILT_TIMER                      = -0x7
   204  	EVFILT_USER                       = -0xa
   205  	EVFILT_VM                         = -0xc
   206  	EVFILT_VNODE                      = -0x4
   207  	EVFILT_WRITE                      = -0x2
   208  	EV_ADD                            = 0x1
   209  	EV_CLEAR                          = 0x20
   210  	EV_DELETE                         = 0x2
   211  	EV_DISABLE                        = 0x8
   212  	EV_DISPATCH                       = 0x80
   213  	EV_ENABLE                         = 0x4
   214  	EV_EOF                            = 0x8000
   215  	EV_ERROR                          = 0x4000
   216  	EV_FLAG0                          = 0x1000
   217  	EV_FLAG1                          = 0x2000
   218  	EV_ONESHOT                        = 0x10
   219  	EV_OOBAND                         = 0x2000
   220  	EV_POLL                           = 0x1000
   221  	EV_RECEIPT                        = 0x40
   222  	EV_SYSFLAGS                       = 0xf000
   223  	EXTA                              = 0x4b00
   224  	EXTB                              = 0x9600
   225  	EXTPROC                           = 0x800
   226  	FD_CLOEXEC                        = 0x1
   227  	FD_SETSIZE                        = 0x400
   228  	FLUSHO                            = 0x800000
   229  	F_ADDFILESIGS                     = 0x3d
   230  	F_ADDSIGS                         = 0x3b
   231  	F_ALLOCATEALL                     = 0x4
   232  	F_ALLOCATECONTIG                  = 0x2
   233  	F_CHKCLEAN                        = 0x29
   234  	F_DUPFD                           = 0x0
   235  	F_DUPFD_CLOEXEC                   = 0x43
   236  	F_FLUSH_DATA                      = 0x28
   237  	F_FREEZE_FS                       = 0x35
   238  	F_FULLFSYNC                       = 0x33
   239  	F_GETFD                           = 0x1
   240  	F_GETFL                           = 0x3
   241  	F_GETLK                           = 0x7
   242  	F_GETLKPID                        = 0x42
   243  	F_GETNOSIGPIPE                    = 0x4a
   244  	F_GETOWN                          = 0x5
   245  	F_GETPATH                         = 0x32
   246  	F_GETPATH_MTMINFO                 = 0x47
   247  	F_GETPROTECTIONCLASS              = 0x3f
   248  	F_GLOBAL_NOCACHE                  = 0x37
   249  	F_LOG2PHYS                        = 0x31
   250  	F_LOG2PHYS_EXT                    = 0x41
   251  	F_MARKDEPENDENCY                  = 0x3c
   252  	F_NOCACHE                         = 0x30
   253  	F_NODIRECT                        = 0x3e
   254  	F_OK                              = 0x0
   255  	F_PATHPKG_CHECK                   = 0x34
   256  	F_PEOFPOSMODE                     = 0x3
   257  	F_PREALLOCATE                     = 0x2a
   258  	F_RDADVISE                        = 0x2c
   259  	F_RDAHEAD                         = 0x2d
   260  	F_RDLCK                           = 0x1
   261  	F_READBOOTSTRAP                   = 0x2e
   262  	F_SETBACKINGSTORE                 = 0x46
   263  	F_SETFD                           = 0x2
   264  	F_SETFL                           = 0x4
   265  	F_SETLK                           = 0x8
   266  	F_SETLKW                          = 0x9
   267  	F_SETNOSIGPIPE                    = 0x49
   268  	F_SETOWN                          = 0x6
   269  	F_SETPROTECTIONCLASS              = 0x40
   270  	F_SETSIZE                         = 0x2b
   271  	F_THAW_FS                         = 0x36
   272  	F_UNLCK                           = 0x2
   273  	F_VOLPOSMODE                      = 0x4
   274  	F_WRITEBOOTSTRAP                  = 0x2f
   275  	F_WRLCK                           = 0x3
   276  	HUPCL                             = 0x4000
   277  	ICANON                            = 0x100
   278  	ICMP6_FILTER                      = 0x12
   279  	ICRNL                             = 0x100
   280  	IEXTEN                            = 0x400
   281  	IFF_ALLMULTI                      = 0x200
   282  	IFF_ALTPHYS                       = 0x4000
   283  	IFF_BROADCAST                     = 0x2
   284  	IFF_DEBUG                         = 0x4
   285  	IFF_LINK0                         = 0x1000
   286  	IFF_LINK1                         = 0x2000
   287  	IFF_LINK2                         = 0x4000
   288  	IFF_LOOPBACK                      = 0x8
   289  	IFF_MULTICAST                     = 0x8000
   290  	IFF_NOARP                         = 0x80
   291  	IFF_NOTRAILERS                    = 0x20
   292  	IFF_OACTIVE                       = 0x400
   293  	IFF_POINTOPOINT                   = 0x10
   294  	IFF_PROMISC                       = 0x100
   295  	IFF_RUNNING                       = 0x40
   296  	IFF_SIMPLEX                       = 0x800
   297  	IFF_UP                            = 0x1
   298  	IFNAMSIZ                          = 0x10
   299  	IFT_1822                          = 0x2
   300  	IFT_AAL5                          = 0x31
   301  	IFT_ARCNET                        = 0x23
   302  	IFT_ARCNETPLUS                    = 0x24
   303  	IFT_ATM                           = 0x25
   304  	IFT_BRIDGE                        = 0xd1
   305  	IFT_CARP                          = 0xf8
   306  	IFT_CELLULAR                      = 0xff
   307  	IFT_CEPT                          = 0x13
   308  	IFT_DS3                           = 0x1e
   309  	IFT_ENC                           = 0xf4
   310  	IFT_EON                           = 0x19
   311  	IFT_ETHER                         = 0x6
   312  	IFT_FAITH                         = 0x38
   313  	IFT_FDDI                          = 0xf
   314  	IFT_FRELAY                        = 0x20
   315  	IFT_FRELAYDCE                     = 0x2c
   316  	IFT_GIF                           = 0x37
   317  	IFT_HDH1822                       = 0x3
   318  	IFT_HIPPI                         = 0x2f
   319  	IFT_HSSI                          = 0x2e
   320  	IFT_HY                            = 0xe
   321  	IFT_IEEE1394                      = 0x90
   322  	IFT_IEEE8023ADLAG                 = 0x88
   323  	IFT_ISDNBASIC                     = 0x14
   324  	IFT_ISDNPRIMARY                   = 0x15
   325  	IFT_ISO88022LLC                   = 0x29
   326  	IFT_ISO88023                      = 0x7
   327  	IFT_ISO88024                      = 0x8
   328  	IFT_ISO88025                      = 0x9
   329  	IFT_ISO88026                      = 0xa
   330  	IFT_L2VLAN                        = 0x87
   331  	IFT_LAPB                          = 0x10
   332  	IFT_LOCALTALK                     = 0x2a
   333  	IFT_LOOP                          = 0x18
   334  	IFT_MIOX25                        = 0x26
   335  	IFT_MODEM                         = 0x30
   336  	IFT_NSIP                          = 0x1b
   337  	IFT_OTHER                         = 0x1
   338  	IFT_P10                           = 0xc
   339  	IFT_P80                           = 0xd
   340  	IFT_PARA                          = 0x22
   341  	IFT_PDP                           = 0xff
   342  	IFT_PFLOG                         = 0xf5
   343  	IFT_PFSYNC                        = 0xf6
   344  	IFT_PPP                           = 0x17
   345  	IFT_PROPMUX                       = 0x36
   346  	IFT_PROPVIRTUAL                   = 0x35
   347  	IFT_PTPSERIAL                     = 0x16
   348  	IFT_RS232                         = 0x21
   349  	IFT_SDLC                          = 0x11
   350  	IFT_SIP                           = 0x1f
   351  	IFT_SLIP                          = 0x1c
   352  	IFT_SMDSDXI                       = 0x2b
   353  	IFT_SMDSICIP                      = 0x34
   354  	IFT_SONET                         = 0x27
   355  	IFT_SONETPATH                     = 0x32
   356  	IFT_SONETVT                       = 0x33
   357  	IFT_STARLAN                       = 0xb
   358  	IFT_STF                           = 0x39
   359  	IFT_T1                            = 0x12
   360  	IFT_ULTRA                         = 0x1d
   361  	IFT_V35                           = 0x2d
   362  	IFT_X25                           = 0x5
   363  	IFT_X25DDN                        = 0x4
   364  	IFT_X25PLE                        = 0x28
   365  	IFT_XETHER                        = 0x1a
   366  	IGNBRK                            = 0x1
   367  	IGNCR                             = 0x80
   368  	IGNPAR                            = 0x4
   369  	IMAXBEL                           = 0x2000
   370  	INLCR                             = 0x40
   371  	INPCK                             = 0x10
   372  	IN_CLASSA_HOST                    = 0xffffff
   373  	IN_CLASSA_MAX                     = 0x80
   374  	IN_CLASSA_NET                     = 0xff000000
   375  	IN_CLASSA_NSHIFT                  = 0x18
   376  	IN_CLASSB_HOST                    = 0xffff
   377  	IN_CLASSB_MAX                     = 0x10000
   378  	IN_CLASSB_NET                     = 0xffff0000
   379  	IN_CLASSB_NSHIFT                  = 0x10
   380  	IN_CLASSC_HOST                    = 0xff
   381  	IN_CLASSC_NET                     = 0xffffff00
   382  	IN_CLASSC_NSHIFT                  = 0x8
   383  	IN_CLASSD_HOST                    = 0xfffffff
   384  	IN_CLASSD_NET                     = 0xf0000000
   385  	IN_CLASSD_NSHIFT                  = 0x1c
   386  	IN_LINKLOCALNETNUM                = 0xa9fe0000
   387  	IN_LOOPBACKNET                    = 0x7f
   388  	IPPROTO_3PC                       = 0x22
   389  	IPPROTO_ADFS                      = 0x44
   390  	IPPROTO_AH                        = 0x33
   391  	IPPROTO_AHIP                      = 0x3d
   392  	IPPROTO_APES                      = 0x63
   393  	IPPROTO_ARGUS                     = 0xd
   394  	IPPROTO_AX25                      = 0x5d
   395  	IPPROTO_BHA                       = 0x31
   396  	IPPROTO_BLT                       = 0x1e
   397  	IPPROTO_BRSATMON                  = 0x4c
   398  	IPPROTO_CFTP                      = 0x3e
   399  	IPPROTO_CHAOS                     = 0x10
   400  	IPPROTO_CMTP                      = 0x26
   401  	IPPROTO_CPHB                      = 0x49
   402  	IPPROTO_CPNX                      = 0x48
   403  	IPPROTO_DDP                       = 0x25
   404  	IPPROTO_DGP                       = 0x56
   405  	IPPROTO_DIVERT                    = 0xfe
   406  	IPPROTO_DONE                      = 0x101
   407  	IPPROTO_DSTOPTS                   = 0x3c
   408  	IPPROTO_EGP                       = 0x8
   409  	IPPROTO_EMCON                     = 0xe
   410  	IPPROTO_ENCAP                     = 0x62
   411  	IPPROTO_EON                       = 0x50
   412  	IPPROTO_ESP                       = 0x32
   413  	IPPROTO_ETHERIP                   = 0x61
   414  	IPPROTO_FRAGMENT                  = 0x2c
   415  	IPPROTO_GGP                       = 0x3
   416  	IPPROTO_GMTP                      = 0x64
   417  	IPPROTO_GRE                       = 0x2f
   418  	IPPROTO_HELLO                     = 0x3f
   419  	IPPROTO_HMP                       = 0x14
   420  	IPPROTO_HOPOPTS                   = 0x0
   421  	IPPROTO_ICMP                      = 0x1
   422  	IPPROTO_ICMPV6                    = 0x3a
   423  	IPPROTO_IDP                       = 0x16
   424  	IPPROTO_IDPR                      = 0x23
   425  	IPPROTO_IDRP                      = 0x2d
   426  	IPPROTO_IGMP                      = 0x2
   427  	IPPROTO_IGP                       = 0x55
   428  	IPPROTO_IGRP                      = 0x58
   429  	IPPROTO_IL                        = 0x28
   430  	IPPROTO_INLSP                     = 0x34
   431  	IPPROTO_INP                       = 0x20
   432  	IPPROTO_IP                        = 0x0
   433  	IPPROTO_IPCOMP                    = 0x6c
   434  	IPPROTO_IPCV                      = 0x47
   435  	IPPROTO_IPEIP                     = 0x5e
   436  	IPPROTO_IPIP                      = 0x4
   437  	IPPROTO_IPPC                      = 0x43
   438  	IPPROTO_IPV4                      = 0x4
   439  	IPPROTO_IPV6                      = 0x29
   440  	IPPROTO_IRTP                      = 0x1c
   441  	IPPROTO_KRYPTOLAN                 = 0x41
   442  	IPPROTO_LARP                      = 0x5b
   443  	IPPROTO_LEAF1                     = 0x19
   444  	IPPROTO_LEAF2                     = 0x1a
   445  	IPPROTO_MAX                       = 0x100
   446  	IPPROTO_MAXID                     = 0x34
   447  	IPPROTO_MEAS                      = 0x13
   448  	IPPROTO_MHRP                      = 0x30
   449  	IPPROTO_MICP                      = 0x5f
   450  	IPPROTO_MTP                       = 0x5c
   451  	IPPROTO_MUX                       = 0x12
   452  	IPPROTO_ND                        = 0x4d
   453  	IPPROTO_NHRP                      = 0x36
   454  	IPPROTO_NONE                      = 0x3b
   455  	IPPROTO_NSP                       = 0x1f
   456  	IPPROTO_NVPII                     = 0xb
   457  	IPPROTO_OSPFIGP                   = 0x59
   458  	IPPROTO_PGM                       = 0x71
   459  	IPPROTO_PIGP                      = 0x9
   460  	IPPROTO_PIM                       = 0x67
   461  	IPPROTO_PRM                       = 0x15
   462  	IPPROTO_PUP                       = 0xc
   463  	IPPROTO_PVP                       = 0x4b
   464  	IPPROTO_RAW                       = 0xff
   465  	IPPROTO_RCCMON                    = 0xa
   466  	IPPROTO_RDP                       = 0x1b
   467  	IPPROTO_ROUTING                   = 0x2b
   468  	IPPROTO_RSVP                      = 0x2e
   469  	IPPROTO_RVD                       = 0x42
   470  	IPPROTO_SATEXPAK                  = 0x40
   471  	IPPROTO_SATMON                    = 0x45
   472  	IPPROTO_SCCSP                     = 0x60
   473  	IPPROTO_SCTP                      = 0x84
   474  	IPPROTO_SDRP                      = 0x2a
   475  	IPPROTO_SEP                       = 0x21
   476  	IPPROTO_SRPC                      = 0x5a
   477  	IPPROTO_ST                        = 0x7
   478  	IPPROTO_SVMTP                     = 0x52
   479  	IPPROTO_SWIPE                     = 0x35
   480  	IPPROTO_TCF                       = 0x57
   481  	IPPROTO_TCP                       = 0x6
   482  	IPPROTO_TP                        = 0x1d
   483  	IPPROTO_TPXX                      = 0x27
   484  	IPPROTO_TRUNK1                    = 0x17
   485  	IPPROTO_TRUNK2                    = 0x18
   486  	IPPROTO_TTP                       = 0x54
   487  	IPPROTO_UDP                       = 0x11
   488  	IPPROTO_VINES                     = 0x53
   489  	IPPROTO_VISA                      = 0x46
   490  	IPPROTO_VMTP                      = 0x51
   491  	IPPROTO_WBEXPAK                   = 0x4f
   492  	IPPROTO_WBMON                     = 0x4e
   493  	IPPROTO_WSN                       = 0x4a
   494  	IPPROTO_XNET                      = 0xf
   495  	IPPROTO_XTP                       = 0x24
   496  	IPV6_2292DSTOPTS                  = 0x17
   497  	IPV6_2292HOPLIMIT                 = 0x14
   498  	IPV6_2292HOPOPTS                  = 0x16
   499  	IPV6_2292NEXTHOP                  = 0x15
   500  	IPV6_2292PKTINFO                  = 0x13
   501  	IPV6_2292PKTOPTIONS               = 0x19
   502  	IPV6_2292RTHDR                    = 0x18
   503  	IPV6_BINDV6ONLY                   = 0x1b
   504  	IPV6_BOUND_IF                     = 0x7d
   505  	IPV6_CHECKSUM                     = 0x1a
   506  	IPV6_DEFAULT_MULTICAST_HOPS       = 0x1
   507  	IPV6_DEFAULT_MULTICAST_LOOP       = 0x1
   508  	IPV6_DEFHLIM                      = 0x40
   509  	IPV6_FAITH                        = 0x1d
   510  	IPV6_FLOWINFO_MASK                = 0xffffff0f
   511  	IPV6_FLOWLABEL_MASK               = 0xffff0f00
   512  	IPV6_FRAGTTL                      = 0x78
   513  	IPV6_FW_ADD                       = 0x1e
   514  	IPV6_FW_DEL                       = 0x1f
   515  	IPV6_FW_FLUSH                     = 0x20
   516  	IPV6_FW_GET                       = 0x22
   517  	IPV6_FW_ZERO                      = 0x21
   518  	IPV6_HLIMDEC                      = 0x1
   519  	IPV6_IPSEC_POLICY                 = 0x1c
   520  	IPV6_JOIN_GROUP                   = 0xc
   521  	IPV6_LEAVE_GROUP                  = 0xd
   522  	IPV6_MAXHLIM                      = 0xff
   523  	IPV6_MAXOPTHDR                    = 0x800
   524  	IPV6_MAXPACKET                    = 0xffff
   525  	IPV6_MAX_GROUP_SRC_FILTER         = 0x200
   526  	IPV6_MAX_MEMBERSHIPS              = 0xfff
   527  	IPV6_MAX_SOCK_SRC_FILTER          = 0x80
   528  	IPV6_MIN_MEMBERSHIPS              = 0x1f
   529  	IPV6_MMTU                         = 0x500
   530  	IPV6_MULTICAST_HOPS               = 0xa
   531  	IPV6_MULTICAST_IF                 = 0x9
   532  	IPV6_MULTICAST_LOOP               = 0xb
   533  	IPV6_PORTRANGE                    = 0xe
   534  	IPV6_PORTRANGE_DEFAULT            = 0x0
   535  	IPV6_PORTRANGE_HIGH               = 0x1
   536  	IPV6_PORTRANGE_LOW                = 0x2
   537  	IPV6_RECVTCLASS                   = 0x23
   538  	IPV6_RTHDR_LOOSE                  = 0x0
   539  	IPV6_RTHDR_STRICT                 = 0x1
   540  	IPV6_RTHDR_TYPE_0                 = 0x0
   541  	IPV6_SOCKOPT_RESERVED1            = 0x3
   542  	IPV6_TCLASS                       = 0x24
   543  	IPV6_UNICAST_HOPS                 = 0x4
   544  	IPV6_V6ONLY                       = 0x1b
   545  	IPV6_VERSION                      = 0x60
   546  	IPV6_VERSION_MASK                 = 0xf0
   547  	IP_ADD_MEMBERSHIP                 = 0xc
   548  	IP_ADD_SOURCE_MEMBERSHIP          = 0x46
   549  	IP_BLOCK_SOURCE                   = 0x48
   550  	IP_BOUND_IF                       = 0x19
   551  	IP_DEFAULT_MULTICAST_LOOP         = 0x1
   552  	IP_DEFAULT_MULTICAST_TTL          = 0x1
   553  	IP_DF                             = 0x4000
   554  	IP_DROP_MEMBERSHIP                = 0xd
   555  	IP_DROP_SOURCE_MEMBERSHIP         = 0x47
   556  	IP_DUMMYNET_CONFIGURE             = 0x3c
   557  	IP_DUMMYNET_DEL                   = 0x3d
   558  	IP_DUMMYNET_FLUSH                 = 0x3e
   559  	IP_DUMMYNET_GET                   = 0x40
   560  	IP_FAITH                          = 0x16
   561  	IP_FW_ADD                         = 0x28
   562  	IP_FW_DEL                         = 0x29
   563  	IP_FW_FLUSH                       = 0x2a
   564  	IP_FW_GET                         = 0x2c
   565  	IP_FW_RESETLOG                    = 0x2d
   566  	IP_FW_ZERO                        = 0x2b
   567  	IP_HDRINCL                        = 0x2
   568  	IP_IPSEC_POLICY                   = 0x15
   569  	IP_MAXPACKET                      = 0xffff
   570  	IP_MAX_GROUP_SRC_FILTER           = 0x200
   571  	IP_MAX_MEMBERSHIPS                = 0xfff
   572  	IP_MAX_SOCK_MUTE_FILTER           = 0x80
   573  	IP_MAX_SOCK_SRC_FILTER            = 0x80
   574  	IP_MF                             = 0x2000
   575  	IP_MIN_MEMBERSHIPS                = 0x1f
   576  	IP_MSFILTER                       = 0x4a
   577  	IP_MSS                            = 0x240
   578  	IP_MULTICAST_IF                   = 0x9
   579  	IP_MULTICAST_IFINDEX              = 0x42
   580  	IP_MULTICAST_LOOP                 = 0xb
   581  	IP_MULTICAST_TTL                  = 0xa
   582  	IP_MULTICAST_VIF                  = 0xe
   583  	IP_NAT__XXX                       = 0x37
   584  	IP_OFFMASK                        = 0x1fff
   585  	IP_OLD_FW_ADD                     = 0x32
   586  	IP_OLD_FW_DEL                     = 0x33
   587  	IP_OLD_FW_FLUSH                   = 0x34
   588  	IP_OLD_FW_GET                     = 0x36
   589  	IP_OLD_FW_RESETLOG                = 0x38
   590  	IP_OLD_FW_ZERO                    = 0x35
   591  	IP_OPTIONS                        = 0x1
   592  	IP_PKTINFO                        = 0x1a
   593  	IP_PORTRANGE                      = 0x13
   594  	IP_PORTRANGE_DEFAULT              = 0x0
   595  	IP_PORTRANGE_HIGH                 = 0x1
   596  	IP_PORTRANGE_LOW                  = 0x2
   597  	IP_RECVDSTADDR                    = 0x7
   598  	IP_RECVIF                         = 0x14
   599  	IP_RECVOPTS                       = 0x5
   600  	IP_RECVPKTINFO                    = 0x1a
   601  	IP_RECVRETOPTS                    = 0x6
   602  	IP_RECVTTL                        = 0x18
   603  	IP_RETOPTS                        = 0x8
   604  	IP_RF                             = 0x8000
   605  	IP_RSVP_OFF                       = 0x10
   606  	IP_RSVP_ON                        = 0xf
   607  	IP_RSVP_VIF_OFF                   = 0x12
   608  	IP_RSVP_VIF_ON                    = 0x11
   609  	IP_STRIPHDR                       = 0x17
   610  	IP_TOS                            = 0x3
   611  	IP_TRAFFIC_MGT_BACKGROUND         = 0x41
   612  	IP_TTL                            = 0x4
   613  	IP_UNBLOCK_SOURCE                 = 0x49
   614  	ISIG                              = 0x80
   615  	ISTRIP                            = 0x20
   616  	IUTF8                             = 0x4000
   617  	IXANY                             = 0x800
   618  	IXOFF                             = 0x400
   619  	IXON                              = 0x200
   620  	LOCK_EX                           = 0x2
   621  	LOCK_NB                           = 0x4
   622  	LOCK_SH                           = 0x1
   623  	LOCK_UN                           = 0x8
   624  	MADV_CAN_REUSE                    = 0x9
   625  	MADV_DONTNEED                     = 0x4
   626  	MADV_FREE                         = 0x5
   627  	MADV_FREE_REUSABLE                = 0x7
   628  	MADV_FREE_REUSE                   = 0x8
   629  	MADV_NORMAL                       = 0x0
   630  	MADV_RANDOM                       = 0x1
   631  	MADV_SEQUENTIAL                   = 0x2
   632  	MADV_WILLNEED                     = 0x3
   633  	MADV_ZERO_WIRED_PAGES             = 0x6
   634  	MAP_ANON                          = 0x1000
   635  	MAP_COPY                          = 0x2
   636  	MAP_FILE                          = 0x0
   637  	MAP_FIXED                         = 0x10
   638  	MAP_HASSEMAPHORE                  = 0x200
   639  	MAP_JIT                           = 0x800
   640  	MAP_NOCACHE                       = 0x400
   641  	MAP_NOEXTEND                      = 0x100
   642  	MAP_NORESERVE                     = 0x40
   643  	MAP_PRIVATE                       = 0x2
   644  	MAP_RENAME                        = 0x20
   645  	MAP_RESERVED0080                  = 0x80
   646  	MAP_SHARED                        = 0x1
   647  	MCL_CURRENT                       = 0x1
   648  	MCL_FUTURE                        = 0x2
   649  	MSG_CTRUNC                        = 0x20
   650  	MSG_DONTROUTE                     = 0x4
   651  	MSG_DONTWAIT                      = 0x80
   652  	MSG_EOF                           = 0x100
   653  	MSG_EOR                           = 0x8
   654  	MSG_FLUSH                         = 0x400
   655  	MSG_HAVEMORE                      = 0x2000
   656  	MSG_HOLD                          = 0x800
   657  	MSG_NEEDSA                        = 0x10000
   658  	MSG_OOB                           = 0x1
   659  	MSG_PEEK                          = 0x2
   660  	MSG_RCVMORE                       = 0x4000
   661  	MSG_SEND                          = 0x1000
   662  	MSG_TRUNC                         = 0x10
   663  	MSG_WAITALL                       = 0x40
   664  	MSG_WAITSTREAM                    = 0x200
   665  	MS_ASYNC                          = 0x1
   666  	MS_DEACTIVATE                     = 0x8
   667  	MS_INVALIDATE                     = 0x2
   668  	MS_KILLPAGES                      = 0x4
   669  	MS_SYNC                           = 0x10
   670  	NAME_MAX                          = 0xff
   671  	NET_RT_DUMP                       = 0x1
   672  	NET_RT_DUMP2                      = 0x7
   673  	NET_RT_FLAGS                      = 0x2
   674  	NET_RT_IFLIST                     = 0x3
   675  	NET_RT_IFLIST2                    = 0x6
   676  	NET_RT_MAXID                      = 0xa
   677  	NET_RT_STAT                       = 0x4
   678  	NET_RT_TRASH                      = 0x5
   679  	NOFLSH                            = 0x80000000
   680  	NOTE_ABSOLUTE                     = 0x8
   681  	NOTE_ATTRIB                       = 0x8
   682  	NOTE_CHILD                        = 0x4
   683  	NOTE_DELETE                       = 0x1
   684  	NOTE_EXEC                         = 0x20000000
   685  	NOTE_EXIT                         = 0x80000000
   686  	NOTE_EXITSTATUS                   = 0x4000000
   687  	NOTE_EXTEND                       = 0x4
   688  	NOTE_FFAND                        = 0x40000000
   689  	NOTE_FFCOPY                       = 0xc0000000
   690  	NOTE_FFCTRLMASK                   = 0xc0000000
   691  	NOTE_FFLAGSMASK                   = 0xffffff
   692  	NOTE_FFNOP                        = 0x0
   693  	NOTE_FFOR                         = 0x80000000
   694  	NOTE_FORK                         = 0x40000000
   695  	NOTE_LINK                         = 0x10
   696  	NOTE_LOWAT                        = 0x1
   697  	NOTE_NONE                         = 0x80
   698  	NOTE_NSECONDS                     = 0x4
   699  	NOTE_PCTRLMASK                    = -0x100000
   700  	NOTE_PDATAMASK                    = 0xfffff
   701  	NOTE_REAP                         = 0x10000000
   702  	NOTE_RENAME                       = 0x20
   703  	NOTE_RESOURCEEND                  = 0x2000000
   704  	NOTE_REVOKE                       = 0x40
   705  	NOTE_SECONDS                      = 0x1
   706  	NOTE_SIGNAL                       = 0x8000000
   707  	NOTE_TRACK                        = 0x1
   708  	NOTE_TRACKERR                     = 0x2
   709  	NOTE_TRIGGER                      = 0x1000000
   710  	NOTE_USECONDS                     = 0x2
   711  	NOTE_VM_ERROR                     = 0x10000000
   712  	NOTE_VM_PRESSURE                  = 0x80000000
   713  	NOTE_VM_PRESSURE_SUDDEN_TERMINATE = 0x20000000
   714  	NOTE_VM_PRESSURE_TERMINATE        = 0x40000000
   715  	NOTE_WRITE                        = 0x2
   716  	OCRNL                             = 0x10
   717  	OFDEL                             = 0x20000
   718  	OFILL                             = 0x80
   719  	ONLCR                             = 0x2
   720  	ONLRET                            = 0x40
   721  	ONOCR                             = 0x20
   722  	ONOEOT                            = 0x8
   723  	OPOST                             = 0x1
   724  	O_ACCMODE                         = 0x3
   725  	O_ALERT                           = 0x20000000
   726  	O_APPEND                          = 0x8
   727  	O_ASYNC                           = 0x40
   728  	O_CLOEXEC                         = 0x1000000
   729  	O_CREAT                           = 0x200
   730  	O_DIRECTORY                       = 0x100000
   731  	O_DSYNC                           = 0x400000
   732  	O_EVTONLY                         = 0x8000
   733  	O_EXCL                            = 0x800
   734  	O_EXLOCK                          = 0x20
   735  	O_FSYNC                           = 0x80
   736  	O_NDELAY                          = 0x4
   737  	O_NOCTTY                          = 0x20000
   738  	O_NOFOLLOW                        = 0x100
   739  	O_NONBLOCK                        = 0x4
   740  	O_POPUP                           = 0x80000000
   741  	O_RDONLY                          = 0x0
   742  	O_RDWR                            = 0x2
   743  	O_SHLOCK                          = 0x10
   744  	O_SYMLINK                         = 0x200000
   745  	O_SYNC                            = 0x80
   746  	O_TRUNC                           = 0x400
   747  	O_WRONLY                          = 0x1
   748  	PARENB                            = 0x1000
   749  	PARMRK                            = 0x8
   750  	PARODD                            = 0x2000
   751  	PENDIN                            = 0x20000000
   752  	PRIO_PGRP                         = 0x1
   753  	PRIO_PROCESS                      = 0x0
   754  	PRIO_USER                         = 0x2
   755  	PROT_EXEC                         = 0x4
   756  	PROT_NONE                         = 0x0
   757  	PROT_READ                         = 0x1
   758  	PROT_WRITE                        = 0x2
   759  	PT_ATTACH                         = 0xa
   760  	PT_ATTACHEXC                      = 0xe
   761  	PT_CONTINUE                       = 0x7
   762  	PT_DENY_ATTACH                    = 0x1f
   763  	PT_DETACH                         = 0xb
   764  	PT_FIRSTMACH                      = 0x20
   765  	PT_FORCEQUOTA                     = 0x1e
   766  	PT_KILL                           = 0x8
   767  	PT_READ_D                         = 0x2
   768  	PT_READ_I                         = 0x1
   769  	PT_READ_U                         = 0x3
   770  	PT_SIGEXC                         = 0xc
   771  	PT_STEP                           = 0x9
   772  	PT_THUPDATE                       = 0xd
   773  	PT_TRACE_ME                       = 0x0
   774  	PT_WRITE_D                        = 0x5
   775  	PT_WRITE_I                        = 0x4
   776  	PT_WRITE_U                        = 0x6
   777  	RLIMIT_AS                         = 0x5
   778  	RLIMIT_CORE                       = 0x4
   779  	RLIMIT_CPU                        = 0x0
   780  	RLIMIT_DATA                       = 0x2
   781  	RLIMIT_FSIZE                      = 0x1
   782  	RLIMIT_NOFILE                     = 0x8
   783  	RLIMIT_STACK                      = 0x3
   784  	RLIM_INFINITY                     = 0x7fffffffffffffff
   785  	RTAX_AUTHOR                       = 0x6
   786  	RTAX_BRD                          = 0x7
   787  	RTAX_DST                          = 0x0
   788  	RTAX_GATEWAY                      = 0x1
   789  	RTAX_GENMASK                      = 0x3
   790  	RTAX_IFA                          = 0x5
   791  	RTAX_IFP                          = 0x4
   792  	RTAX_MAX                          = 0x8
   793  	RTAX_NETMASK                      = 0x2
   794  	RTA_AUTHOR                        = 0x40
   795  	RTA_BRD                           = 0x80
   796  	RTA_DST                           = 0x1
   797  	RTA_GATEWAY                       = 0x2
   798  	RTA_GENMASK                       = 0x8
   799  	RTA_IFA                           = 0x20
   800  	RTA_IFP                           = 0x10
   801  	RTA_NETMASK                       = 0x4
   802  	RTF_BLACKHOLE                     = 0x1000
   803  	RTF_BROADCAST                     = 0x400000
   804  	RTF_CLONING                       = 0x100
   805  	RTF_CONDEMNED                     = 0x2000000
   806  	RTF_DELCLONE                      = 0x80
   807  	RTF_DONE                          = 0x40
   808  	RTF_DYNAMIC                       = 0x10
   809  	RTF_GATEWAY                       = 0x2
   810  	RTF_HOST                          = 0x4
   811  	RTF_IFREF                         = 0x4000000
   812  	RTF_IFSCOPE                       = 0x1000000
   813  	RTF_LLINFO                        = 0x400
   814  	RTF_LOCAL                         = 0x200000
   815  	RTF_MODIFIED                      = 0x20
   816  	RTF_MULTICAST                     = 0x800000
   817  	RTF_PINNED                        = 0x100000
   818  	RTF_PRCLONING                     = 0x10000
   819  	RTF_PROTO1                        = 0x8000
   820  	RTF_PROTO2                        = 0x4000
   821  	RTF_PROTO3                        = 0x40000
   822  	RTF_REJECT                        = 0x8
   823  	RTF_STATIC                        = 0x800
   824  	RTF_UP                            = 0x1
   825  	RTF_WASCLONED                     = 0x20000
   826  	RTF_XRESOLVE                      = 0x200
   827  	RTM_ADD                           = 0x1
   828  	RTM_CHANGE                        = 0x3
   829  	RTM_DELADDR                       = 0xd
   830  	RTM_DELETE                        = 0x2
   831  	RTM_DELMADDR                      = 0x10
   832  	RTM_GET                           = 0x4
   833  	RTM_GET2                          = 0x14
   834  	RTM_IFINFO                        = 0xe
   835  	RTM_IFINFO2                       = 0x12
   836  	RTM_LOCK                          = 0x8
   837  	RTM_LOSING                        = 0x5
   838  	RTM_MISS                          = 0x7
   839  	RTM_NEWADDR                       = 0xc
   840  	RTM_NEWMADDR                      = 0xf
   841  	RTM_NEWMADDR2                     = 0x13
   842  	RTM_OLDADD                        = 0x9
   843  	RTM_OLDDEL                        = 0xa
   844  	RTM_REDIRECT                      = 0x6
   845  	RTM_RESOLVE                       = 0xb
   846  	RTM_RTTUNIT                       = 0xf4240
   847  	RTM_VERSION                       = 0x5
   848  	RTV_EXPIRE                        = 0x4
   849  	RTV_HOPCOUNT                      = 0x2
   850  	RTV_MTU                           = 0x1
   851  	RTV_RPIPE                         = 0x8
   852  	RTV_RTT                           = 0x40
   853  	RTV_RTTVAR                        = 0x80
   854  	RTV_SPIPE                         = 0x10
   855  	RTV_SSTHRESH                      = 0x20
   856  	RUSAGE_CHILDREN                   = -0x1
   857  	RUSAGE_SELF                       = 0x0
   858  	SCM_CREDS                         = 0x3
   859  	SCM_RIGHTS                        = 0x1
   860  	SCM_TIMESTAMP                     = 0x2
   861  	SCM_TIMESTAMP_MONOTONIC           = 0x4
   862  	SHUT_RD                           = 0x0
   863  	SHUT_RDWR                         = 0x2
   864  	SHUT_WR                           = 0x1
   865  	SIOCADDMULTI                      = 0x80206931
   866  	SIOCAIFADDR                       = 0x8040691a
   867  	SIOCALIFADDR                      = 0x8118691d
   868  	SIOCARPIPLL                       = 0xc0206928
   869  	SIOCATMARK                        = 0x40047307
   870  	SIOCAUTOADDR                      = 0xc0206926
   871  	SIOCAUTONETMASK                   = 0x80206927
   872  	SIOCDELMULTI                      = 0x80206932
   873  	SIOCDIFADDR                       = 0x80206919
   874  	SIOCDIFPHYADDR                    = 0x80206941
   875  	SIOCDLIFADDR                      = 0x8118691f
   876  	SIOCGDRVSPEC                      = 0xc028697b
   877  	SIOCGETSGCNT                      = 0xc014721c
   878  	SIOCGETVIFCNT                     = 0xc014721b
   879  	SIOCGETVLAN                       = 0xc020697f
   880  	SIOCGHIWAT                        = 0x40047301
   881  	SIOCGIFADDR                       = 0xc0206921
   882  	SIOCGIFALTMTU                     = 0xc0206948
   883  	SIOCGIFASYNCMAP                   = 0xc020697c
   884  	SIOCGIFBOND                       = 0xc0206947
   885  	SIOCGIFBRDADDR                    = 0xc0206923
   886  	SIOCGIFCAP                        = 0xc020695b
   887  	SIOCGIFCONF                       = 0xc00c6924
   888  	SIOCGIFDEVMTU                     = 0xc0206944
   889  	SIOCGIFDSTADDR                    = 0xc0206922
   890  	SIOCGIFFLAGS                      = 0xc0206911
   891  	SIOCGIFGENERIC                    = 0xc020693a
   892  	SIOCGIFKPI                        = 0xc0206987
   893  	SIOCGIFMAC                        = 0xc0206982
   894  	SIOCGIFMEDIA                      = 0xc02c6938
   895  	SIOCGIFMETRIC                     = 0xc0206917
   896  	SIOCGIFMTU                        = 0xc0206933
   897  	SIOCGIFNETMASK                    = 0xc0206925
   898  	SIOCGIFPDSTADDR                   = 0xc0206940
   899  	SIOCGIFPHYS                       = 0xc0206935
   900  	SIOCGIFPSRCADDR                   = 0xc020693f
   901  	SIOCGIFSTATUS                     = 0xc331693d
   902  	SIOCGIFVLAN                       = 0xc020697f
   903  	SIOCGIFWAKEFLAGS                  = 0xc0206988
   904  	SIOCGLIFADDR                      = 0xc118691e
   905  	SIOCGLIFPHYADDR                   = 0xc1186943
   906  	SIOCGLOWAT                        = 0x40047303
   907  	SIOCGPGRP                         = 0x40047309
   908  	SIOCIFCREATE                      = 0xc0206978
   909  	SIOCIFCREATE2                     = 0xc020697a
   910  	SIOCIFDESTROY                     = 0x80206979
   911  	SIOCRSLVMULTI                     = 0xc010693b
   912  	SIOCSDRVSPEC                      = 0x8028697b
   913  	SIOCSETVLAN                       = 0x8020697e
   914  	SIOCSHIWAT                        = 0x80047300
   915  	SIOCSIFADDR                       = 0x8020690c
   916  	SIOCSIFALTMTU                     = 0x80206945
   917  	SIOCSIFASYNCMAP                   = 0x8020697d
   918  	SIOCSIFBOND                       = 0x80206946
   919  	SIOCSIFBRDADDR                    = 0x80206913
   920  	SIOCSIFCAP                        = 0x8020695a
   921  	SIOCSIFDSTADDR                    = 0x8020690e
   922  	SIOCSIFFLAGS                      = 0x80206910
   923  	SIOCSIFGENERIC                    = 0x80206939
   924  	SIOCSIFKPI                        = 0x80206986
   925  	SIOCSIFLLADDR                     = 0x8020693c
   926  	SIOCSIFMAC                        = 0x80206983
   927  	SIOCSIFMEDIA                      = 0xc0206937
   928  	SIOCSIFMETRIC                     = 0x80206918
   929  	SIOCSIFMTU                        = 0x80206934
   930  	SIOCSIFNETMASK                    = 0x80206916
   931  	SIOCSIFPHYADDR                    = 0x8040693e
   932  	SIOCSIFPHYS                       = 0x80206936
   933  	SIOCSIFVLAN                       = 0x8020697e
   934  	SIOCSLIFPHYADDR                   = 0x81186942
   935  	SIOCSLOWAT                        = 0x80047302
   936  	SIOCSPGRP                         = 0x80047308
   937  	SOCK_DGRAM                        = 0x2
   938  	SOCK_MAXADDRLEN                   = 0xff
   939  	SOCK_RAW                          = 0x3
   940  	SOCK_RDM                          = 0x4
   941  	SOCK_SEQPACKET                    = 0x5
   942  	SOCK_STREAM                       = 0x1
   943  	SOL_SOCKET                        = 0xffff
   944  	SOMAXCONN                         = 0x80
   945  	SO_ACCEPTCONN                     = 0x2
   946  	SO_BROADCAST                      = 0x20
   947  	SO_DEBUG                          = 0x1
   948  	SO_DONTROUTE                      = 0x10
   949  	SO_DONTTRUNC                      = 0x2000
   950  	SO_ERROR                          = 0x1007
   951  	SO_KEEPALIVE                      = 0x8
   952  	SO_LABEL                          = 0x1010
   953  	SO_LINGER                         = 0x80
   954  	SO_LINGER_SEC                     = 0x1080
   955  	SO_NKE                            = 0x1021
   956  	SO_NOADDRERR                      = 0x1023
   957  	SO_NOSIGPIPE                      = 0x1022
   958  	SO_NOTIFYCONFLICT                 = 0x1026
   959  	SO_NP_EXTENSIONS                  = 0x1083
   960  	SO_NREAD                          = 0x1020
   961  	SO_NWRITE                         = 0x1024
   962  	SO_OOBINLINE                      = 0x100
   963  	SO_PEERLABEL                      = 0x1011
   964  	SO_RANDOMPORT                     = 0x1082
   965  	SO_RCVBUF                         = 0x1002
   966  	SO_RCVLOWAT                       = 0x1004
   967  	SO_RCVTIMEO                       = 0x1006
   968  	SO_RESTRICTIONS                   = 0x1081
   969  	SO_RESTRICT_DENYIN                = 0x1
   970  	SO_RESTRICT_DENYOUT               = 0x2
   971  	SO_RESTRICT_DENYSET               = 0x80000000
   972  	SO_REUSEADDR                      = 0x4
   973  	SO_REUSEPORT                      = 0x200
   974  	SO_REUSESHAREUID                  = 0x1025
   975  	SO_SNDBUF                         = 0x1001
   976  	SO_SNDLOWAT                       = 0x1003
   977  	SO_SNDTIMEO                       = 0x1005
   978  	SO_TIMESTAMP                      = 0x400
   979  	SO_TIMESTAMP_MONOTONIC            = 0x800
   980  	SO_TYPE                           = 0x1008
   981  	SO_UPCALLCLOSEWAIT                = 0x1027
   982  	SO_USELOOPBACK                    = 0x40
   983  	SO_WANTMORE                       = 0x4000
   984  	SO_WANTOOBFLAG                    = 0x8000
   985  	S_IEXEC                           = 0x40
   986  	S_IFBLK                           = 0x6000
   987  	S_IFCHR                           = 0x2000
   988  	S_IFDIR                           = 0x4000
   989  	S_IFIFO                           = 0x1000
   990  	S_IFLNK                           = 0xa000
   991  	S_IFMT                            = 0xf000
   992  	S_IFREG                           = 0x8000
   993  	S_IFSOCK                          = 0xc000
   994  	S_IFWHT                           = 0xe000
   995  	S_IREAD                           = 0x100
   996  	S_IRGRP                           = 0x20
   997  	S_IROTH                           = 0x4
   998  	S_IRUSR                           = 0x100
   999  	S_IRWXG                           = 0x38
  1000  	S_IRWXO                           = 0x7
  1001  	S_IRWXU                           = 0x1c0
  1002  	S_ISGID                           = 0x400
  1003  	S_ISTXT                           = 0x200
  1004  	S_ISUID                           = 0x800
  1005  	S_ISVTX                           = 0x200
  1006  	S_IWGRP                           = 0x10
  1007  	S_IWOTH                           = 0x2
  1008  	S_IWRITE                          = 0x80
  1009  	S_IWUSR                           = 0x80
  1010  	S_IXGRP                           = 0x8
  1011  	S_IXOTH                           = 0x1
  1012  	S_IXUSR                           = 0x40
  1013  	TCIFLUSH                          = 0x1
  1014  	TCIOFLUSH                         = 0x3
  1015  	TCOFLUSH                          = 0x2
  1016  	TCP_CONNECTIONTIMEOUT             = 0x20
  1017  	TCP_KEEPALIVE                     = 0x10
  1018  	TCP_MAXHLEN                       = 0x3c
  1019  	TCP_MAXOLEN                       = 0x28
  1020  	TCP_MAXSEG                        = 0x2
  1021  	TCP_MAXWIN                        = 0xffff
  1022  	TCP_MAX_SACK                      = 0x3
  1023  	TCP_MAX_WINSHIFT                  = 0xe
  1024  	TCP_MINMSS                        = 0xd8
  1025  	TCP_MINMSSOVERLOAD                = 0x3e8
  1026  	TCP_MSS                           = 0x200
  1027  	TCP_NODELAY                       = 0x1
  1028  	TCP_NOOPT                         = 0x8
  1029  	TCP_NOPUSH                        = 0x4
  1030  	TCP_RXT_CONNDROPTIME              = 0x80
  1031  	TCP_RXT_FINDROP                   = 0x100
  1032  	TCSAFLUSH                         = 0x2
  1033  	TIOCCBRK                          = 0x2000747a
  1034  	TIOCCDTR                          = 0x20007478
  1035  	TIOCCONS                          = 0x80047462
  1036  	TIOCDCDTIMESTAMP                  = 0x40107458
  1037  	TIOCDRAIN                         = 0x2000745e
  1038  	TIOCDSIMICROCODE                  = 0x20007455
  1039  	TIOCEXCL                          = 0x2000740d
  1040  	TIOCEXT                           = 0x80047460
  1041  	TIOCFLUSH                         = 0x80047410
  1042  	TIOCGDRAINWAIT                    = 0x40047456
  1043  	TIOCGETA                          = 0x40487413
  1044  	TIOCGETD                          = 0x4004741a
  1045  	TIOCGPGRP                         = 0x40047477
  1046  	TIOCGWINSZ                        = 0x40087468
  1047  	TIOCIXOFF                         = 0x20007480
  1048  	TIOCIXON                          = 0x20007481
  1049  	TIOCMBIC                          = 0x8004746b
  1050  	TIOCMBIS                          = 0x8004746c
  1051  	TIOCMGDTRWAIT                     = 0x4004745a
  1052  	TIOCMGET                          = 0x4004746a
  1053  	TIOCMODG                          = 0x40047403
  1054  	TIOCMODS                          = 0x80047404
  1055  	TIOCMSDTRWAIT                     = 0x8004745b
  1056  	TIOCMSET                          = 0x8004746d
  1057  	TIOCM_CAR                         = 0x40
  1058  	TIOCM_CD                          = 0x40
  1059  	TIOCM_CTS                         = 0x20
  1060  	TIOCM_DSR                         = 0x100
  1061  	TIOCM_DTR                         = 0x2
  1062  	TIOCM_LE                          = 0x1
  1063  	TIOCM_RI                          = 0x80
  1064  	TIOCM_RNG                         = 0x80
  1065  	TIOCM_RTS                         = 0x4
  1066  	TIOCM_SR                          = 0x10
  1067  	TIOCM_ST                          = 0x8
  1068  	TIOCNOTTY                         = 0x20007471
  1069  	TIOCNXCL                          = 0x2000740e
  1070  	TIOCOUTQ                          = 0x40047473
  1071  	TIOCPKT                           = 0x80047470
  1072  	TIOCPKT_DATA                      = 0x0
  1073  	TIOCPKT_DOSTOP                    = 0x20
  1074  	TIOCPKT_FLUSHREAD                 = 0x1
  1075  	TIOCPKT_FLUSHWRITE                = 0x2
  1076  	TIOCPKT_IOCTL                     = 0x40
  1077  	TIOCPKT_NOSTOP                    = 0x10
  1078  	TIOCPKT_START                     = 0x8
  1079  	TIOCPKT_STOP                      = 0x4
  1080  	TIOCPTYGNAME                      = 0x40807453
  1081  	TIOCPTYGRANT                      = 0x20007454
  1082  	TIOCPTYUNLK                       = 0x20007452
  1083  	TIOCREMOTE                        = 0x80047469
  1084  	TIOCSBRK                          = 0x2000747b
  1085  	TIOCSCONS                         = 0x20007463
  1086  	TIOCSCTTY                         = 0x20007461
  1087  	TIOCSDRAINWAIT                    = 0x80047457
  1088  	TIOCSDTR                          = 0x20007479
  1089  	TIOCSETA                          = 0x80487414
  1090  	TIOCSETAF                         = 0x80487416
  1091  	TIOCSETAW                         = 0x80487415
  1092  	TIOCSETD                          = 0x8004741b
  1093  	TIOCSIG                           = 0x2000745f
  1094  	TIOCSPGRP                         = 0x80047476
  1095  	TIOCSTART                         = 0x2000746e
  1096  	TIOCSTAT                          = 0x20007465
  1097  	TIOCSTI                           = 0x80017472
  1098  	TIOCSTOP                          = 0x2000746f
  1099  	TIOCSWINSZ                        = 0x80087467
  1100  	TIOCTIMESTAMP                     = 0x40107459
  1101  	TIOCUCNTL                         = 0x80047466
  1102  	TOSTOP                            = 0x400000
  1103  	VDISCARD                          = 0xf
  1104  	VDSUSP                            = 0xb
  1105  	VEOF                              = 0x0
  1106  	VEOL                              = 0x1
  1107  	VEOL2                             = 0x2
  1108  	VERASE                            = 0x3
  1109  	VINTR                             = 0x8
  1110  	VKILL                             = 0x5
  1111  	VLNEXT                            = 0xe
  1112  	VMIN                              = 0x10
  1113  	VQUIT                             = 0x9
  1114  	VREPRINT                          = 0x6
  1115  	VSTART                            = 0xc
  1116  	VSTATUS                           = 0x12
  1117  	VSTOP                             = 0xd
  1118  	VSUSP                             = 0xa
  1119  	VT0                               = 0x0
  1120  	VT1                               = 0x10000
  1121  	VTDLY                             = 0x10000
  1122  	VTIME                             = 0x11
  1123  	VWERASE                           = 0x4
  1124  	WCONTINUED                        = 0x10
  1125  	WCOREFLAG                         = 0x80
  1126  	WEXITED                           = 0x4
  1127  	WNOHANG                           = 0x1
  1128  	WNOWAIT                           = 0x20
  1129  	WORDSIZE                          = 0x40
  1130  	WSTOPPED                          = 0x8
  1131  	WUNTRACED                         = 0x2
  1132  )
  1133  
  1134  // Errors
  1135  const (
  1136  	E2BIG           = Errno(0x7)
  1137  	EACCES          = Errno(0xd)
  1138  	EADDRINUSE      = Errno(0x30)
  1139  	EADDRNOTAVAIL   = Errno(0x31)
  1140  	EAFNOSUPPORT    = Errno(0x2f)
  1141  	EAGAIN          = Errno(0x23)
  1142  	EALREADY        = Errno(0x25)
  1143  	EAUTH           = Errno(0x50)
  1144  	EBADARCH        = Errno(0x56)
  1145  	EBADEXEC        = Errno(0x55)
  1146  	EBADF           = Errno(0x9)
  1147  	EBADMACHO       = Errno(0x58)
  1148  	EBADMSG         = Errno(0x5e)
  1149  	EBADRPC         = Errno(0x48)
  1150  	EBUSY           = Errno(0x10)
  1151  	ECANCELED       = Errno(0x59)
  1152  	ECHILD          = Errno(0xa)
  1153  	ECONNABORTED    = Errno(0x35)
  1154  	ECONNREFUSED    = Errno(0x3d)
  1155  	ECONNRESET      = Errno(0x36)
  1156  	EDEADLK         = Errno(0xb)
  1157  	EDESTADDRREQ    = Errno(0x27)
  1158  	EDEVERR         = Errno(0x53)
  1159  	EDOM            = Errno(0x21)
  1160  	EDQUOT          = Errno(0x45)
  1161  	EEXIST          = Errno(0x11)
  1162  	EFAULT          = Errno(0xe)
  1163  	EFBIG           = Errno(0x1b)
  1164  	EFTYPE          = Errno(0x4f)
  1165  	EHOSTDOWN       = Errno(0x40)
  1166  	EHOSTUNREACH    = Errno(0x41)
  1167  	EIDRM           = Errno(0x5a)
  1168  	EILSEQ          = Errno(0x5c)
  1169  	EINPROGRESS     = Errno(0x24)
  1170  	EINTR           = Errno(0x4)
  1171  	EINVAL          = Errno(0x16)
  1172  	EIO             = Errno(0x5)
  1173  	EISCONN         = Errno(0x38)
  1174  	EISDIR          = Errno(0x15)
  1175  	ELAST           = Errno(0x69)
  1176  	ELOOP           = Errno(0x3e)
  1177  	EMFILE          = Errno(0x18)
  1178  	EMLINK          = Errno(0x1f)
  1179  	EMSGSIZE        = Errno(0x28)
  1180  	EMULTIHOP       = Errno(0x5f)
  1181  	ENAMETOOLONG    = Errno(0x3f)
  1182  	ENEEDAUTH       = Errno(0x51)
  1183  	ENETDOWN        = Errno(0x32)
  1184  	ENETRESET       = Errno(0x34)
  1185  	ENETUNREACH     = Errno(0x33)
  1186  	ENFILE          = Errno(0x17)
  1187  	ENOATTR         = Errno(0x5d)
  1188  	ENOBUFS         = Errno(0x37)
  1189  	ENODATA         = Errno(0x60)
  1190  	ENODEV          = Errno(0x13)
  1191  	ENOENT          = Errno(0x2)
  1192  	ENOEXEC         = Errno(0x8)
  1193  	ENOLCK          = Errno(0x4d)
  1194  	ENOLINK         = Errno(0x61)
  1195  	ENOMEM          = Errno(0xc)
  1196  	ENOMSG          = Errno(0x5b)
  1197  	ENOPOLICY       = Errno(0x67)
  1198  	ENOPROTOOPT     = Errno(0x2a)
  1199  	ENOSPC          = Errno(0x1c)
  1200  	ENOSR           = Errno(0x62)
  1201  	ENOSTR          = Errno(0x63)
  1202  	ENOSYS          = Errno(0x4e)
  1203  	ENOTBLK         = Errno(0xf)
  1204  	ENOTCONN        = Errno(0x39)
  1205  	ENOTDIR         = Errno(0x14)
  1206  	ENOTEMPTY       = Errno(0x42)
  1207  	ENOTRECOVERABLE = Errno(0x68)
  1208  	ENOTSOCK        = Errno(0x26)
  1209  	ENOTSUP         = Errno(0x2d)
  1210  	ENOTTY          = Errno(0x19)
  1211  	ENXIO           = Errno(0x6)
  1212  	EOPNOTSUPP      = Errno(0x66)
  1213  	EOVERFLOW       = Errno(0x54)
  1214  	EOWNERDEAD      = Errno(0x69)
  1215  	EPERM           = Errno(0x1)
  1216  	EPFNOSUPPORT    = Errno(0x2e)
  1217  	EPIPE           = Errno(0x20)
  1218  	EPROCLIM        = Errno(0x43)
  1219  	EPROCUNAVAIL    = Errno(0x4c)
  1220  	EPROGMISMATCH   = Errno(0x4b)
  1221  	EPROGUNAVAIL    = Errno(0x4a)
  1222  	EPROTO          = Errno(0x64)
  1223  	EPROTONOSUPPORT = Errno(0x2b)
  1224  	EPROTOTYPE      = Errno(0x29)
  1225  	EPWROFF         = Errno(0x52)
  1226  	ERANGE          = Errno(0x22)
  1227  	EREMOTE         = Errno(0x47)
  1228  	EROFS           = Errno(0x1e)
  1229  	ERPCMISMATCH    = Errno(0x49)
  1230  	ESHLIBVERS      = Errno(0x57)
  1231  	ESHUTDOWN       = Errno(0x3a)
  1232  	ESOCKTNOSUPPORT = Errno(0x2c)
  1233  	ESPIPE          = Errno(0x1d)
  1234  	ESRCH           = Errno(0x3)
  1235  	ESTALE          = Errno(0x46)
  1236  	ETIME           = Errno(0x65)
  1237  	ETIMEDOUT       = Errno(0x3c)
  1238  	ETOOMANYREFS    = Errno(0x3b)
  1239  	ETXTBSY         = Errno(0x1a)
  1240  	EUSERS          = Errno(0x44)
  1241  	EWOULDBLOCK     = Errno(0x23)
  1242  	EXDEV           = Errno(0x12)
  1243  )
  1244  
  1245  // Signals
  1246  const (
  1247  	SIGABRT   = Signal(0x6)
  1248  	SIGALRM   = Signal(0xe)
  1249  	SIGBUS    = Signal(0xa)
  1250  	SIGCHLD   = Signal(0x14)
  1251  	SIGCONT   = Signal(0x13)
  1252  	SIGEMT    = Signal(0x7)
  1253  	SIGFPE    = Signal(0x8)
  1254  	SIGHUP    = Signal(0x1)
  1255  	SIGILL    = Signal(0x4)
  1256  	SIGINFO   = Signal(0x1d)
  1257  	SIGINT    = Signal(0x2)
  1258  	SIGIO     = Signal(0x17)
  1259  	SIGIOT    = Signal(0x6)
  1260  	SIGKILL   = Signal(0x9)
  1261  	SIGPIPE   = Signal(0xd)
  1262  	SIGPROF   = Signal(0x1b)
  1263  	SIGQUIT   = Signal(0x3)
  1264  	SIGSEGV   = Signal(0xb)
  1265  	SIGSTOP   = Signal(0x11)
  1266  	SIGSYS    = Signal(0xc)
  1267  	SIGTERM   = Signal(0xf)
  1268  	SIGTRAP   = Signal(0x5)
  1269  	SIGTSTP   = Signal(0x12)
  1270  	SIGTTIN   = Signal(0x15)
  1271  	SIGTTOU   = Signal(0x16)
  1272  	SIGURG    = Signal(0x10)
  1273  	SIGUSR1   = Signal(0x1e)
  1274  	SIGUSR2   = Signal(0x1f)
  1275  	SIGVTALRM = Signal(0x1a)
  1276  	SIGWINCH  = Signal(0x1c)
  1277  	SIGXCPU   = Signal(0x18)
  1278  	SIGXFSZ   = Signal(0x19)
  1279  )
  1280  
  1281  // Error table
  1282  var errors = [...]string{
  1283  	1:   "operation not permitted",
  1284  	2:   "no such file or directory",
  1285  	3:   "no such process",
  1286  	4:   "interrupted system call",
  1287  	5:   "input/output error",
  1288  	6:   "device not configured",
  1289  	7:   "argument list too long",
  1290  	8:   "exec format error",
  1291  	9:   "bad file descriptor",
  1292  	10:  "no child processes",
  1293  	11:  "resource deadlock avoided",
  1294  	12:  "cannot allocate memory",
  1295  	13:  "permission denied",
  1296  	14:  "bad address",
  1297  	15:  "block device required",
  1298  	16:  "resource busy",
  1299  	17:  "file exists",
  1300  	18:  "cross-device link",
  1301  	19:  "operation not supported by device",
  1302  	20:  "not a directory",
  1303  	21:  "is a directory",
  1304  	22:  "invalid argument",
  1305  	23:  "too many open files in system",
  1306  	24:  "too many open files",
  1307  	25:  "inappropriate ioctl for device",
  1308  	26:  "text file busy",
  1309  	27:  "file too large",
  1310  	28:  "no space left on device",
  1311  	29:  "illegal seek",
  1312  	30:  "read-only file system",
  1313  	31:  "too many links",
  1314  	32:  "broken pipe",
  1315  	33:  "numerical argument out of domain",
  1316  	34:  "result too large",
  1317  	35:  "resource temporarily unavailable",
  1318  	36:  "operation now in progress",
  1319  	37:  "operation already in progress",
  1320  	38:  "socket operation on non-socket",
  1321  	39:  "destination address required",
  1322  	40:  "message too long",
  1323  	41:  "protocol wrong type for socket",
  1324  	42:  "protocol not available",
  1325  	43:  "protocol not supported",
  1326  	44:  "socket type not supported",
  1327  	45:  "operation not supported",
  1328  	46:  "protocol family not supported",
  1329  	47:  "address family not supported by protocol family",
  1330  	48:  "address already in use",
  1331  	49:  "can't assign requested address",
  1332  	50:  "network is down",
  1333  	51:  "network is unreachable",
  1334  	52:  "network dropped connection on reset",
  1335  	53:  "software caused connection abort",
  1336  	54:  "connection reset by peer",
  1337  	55:  "no buffer space available",
  1338  	56:  "socket is already connected",
  1339  	57:  "socket is not connected",
  1340  	58:  "can't send after socket shutdown",
  1341  	59:  "too many references: can't splice",
  1342  	60:  "operation timed out",
  1343  	61:  "connection refused",
  1344  	62:  "too many levels of symbolic links",
  1345  	63:  "file name too long",
  1346  	64:  "host is down",
  1347  	65:  "no route to host",
  1348  	66:  "directory not empty",
  1349  	67:  "too many processes",
  1350  	68:  "too many users",
  1351  	69:  "disc quota exceeded",
  1352  	70:  "stale NFS file handle",
  1353  	71:  "too many levels of remote in path",
  1354  	72:  "RPC struct is bad",
  1355  	73:  "RPC version wrong",
  1356  	74:  "RPC prog. not avail",
  1357  	75:  "program version wrong",
  1358  	76:  "bad procedure for program",
  1359  	77:  "no locks available",
  1360  	78:  "function not implemented",
  1361  	79:  "inappropriate file type or format",
  1362  	80:  "authentication error",
  1363  	81:  "need authenticator",
  1364  	82:  "device power is off",
  1365  	83:  "device error",
  1366  	84:  "value too large to be stored in data type",
  1367  	85:  "bad executable (or shared library)",
  1368  	86:  "bad CPU type in executable",
  1369  	87:  "shared library version mismatch",
  1370  	88:  "malformed Mach-o file",
  1371  	89:  "operation canceled",
  1372  	90:  "identifier removed",
  1373  	91:  "no message of desired type",
  1374  	92:  "illegal byte sequence",
  1375  	93:  "attribute not found",
  1376  	94:  "bad message",
  1377  	95:  "EMULTIHOP (Reserved)",
  1378  	96:  "no message available on STREAM",
  1379  	97:  "ENOLINK (Reserved)",
  1380  	98:  "no STREAM resources",
  1381  	99:  "not a STREAM",
  1382  	100: "protocol error",
  1383  	101: "STREAM ioctl timeout",
  1384  	102: "operation not supported on socket",
  1385  	103: "policy not found",
  1386  	104: "state not recoverable",
  1387  	105: "previous owner died",
  1388  }
  1389  
  1390  // Signal table
  1391  var signals = [...]string{
  1392  	1:  "hangup",
  1393  	2:  "interrupt",
  1394  	3:  "quit",
  1395  	4:  "illegal instruction",
  1396  	5:  "trace/BPT trap",
  1397  	6:  "abort trap",
  1398  	7:  "EMT trap",
  1399  	8:  "floating point exception",
  1400  	9:  "killed",
  1401  	10: "bus error",
  1402  	11: "segmentation fault",
  1403  	12: "bad system call",
  1404  	13: "broken pipe",
  1405  	14: "alarm clock",
  1406  	15: "terminated",
  1407  	16: "urgent I/O condition",
  1408  	17: "suspended (signal)",
  1409  	18: "suspended",
  1410  	19: "continued",
  1411  	20: "child exited",
  1412  	21: "stopped (tty input)",
  1413  	22: "stopped (tty output)",
  1414  	23: "I/O possible",
  1415  	24: "cputime limit exceeded",
  1416  	25: "filesize limit exceeded",
  1417  	26: "virtual timer expired",
  1418  	27: "profiling timer expired",
  1419  	28: "window size changes",
  1420  	29: "information request",
  1421  	30: "user defined signal 1",
  1422  	31: "user defined signal 2",
  1423  }
  1424  

View as plain text