...
Run Format

Source file src/syscall/zerrors_linux_arm.go

Documentation: syscall

     1  // mkerrors.sh
     2  // Code generated by the command above; DO NOT EDIT.
     3  
     4  // Created by cgo -godefs - DO NOT EDIT
     5  // cgo -godefs -- _const.go
     6  
     7  // +build arm,linux
     8  
     9  package syscall
    10  
    11  const (
    12  	AF_ALG                           = 0x26
    13  	AF_APPLETALK                     = 0x5
    14  	AF_ASH                           = 0x12
    15  	AF_ATMPVC                        = 0x8
    16  	AF_ATMSVC                        = 0x14
    17  	AF_AX25                          = 0x3
    18  	AF_BLUETOOTH                     = 0x1f
    19  	AF_BRIDGE                        = 0x7
    20  	AF_CAIF                          = 0x25
    21  	AF_CAN                           = 0x1d
    22  	AF_DECnet                        = 0xc
    23  	AF_ECONET                        = 0x13
    24  	AF_FILE                          = 0x1
    25  	AF_IEEE802154                    = 0x24
    26  	AF_INET                          = 0x2
    27  	AF_INET6                         = 0xa
    28  	AF_IPX                           = 0x4
    29  	AF_IRDA                          = 0x17
    30  	AF_ISDN                          = 0x22
    31  	AF_IUCV                          = 0x20
    32  	AF_KEY                           = 0xf
    33  	AF_LLC                           = 0x1a
    34  	AF_LOCAL                         = 0x1
    35  	AF_MAX                           = 0x27
    36  	AF_NETBEUI                       = 0xd
    37  	AF_NETLINK                       = 0x10
    38  	AF_NETROM                        = 0x6
    39  	AF_PACKET                        = 0x11
    40  	AF_PHONET                        = 0x23
    41  	AF_PPPOX                         = 0x18
    42  	AF_RDS                           = 0x15
    43  	AF_ROSE                          = 0xb
    44  	AF_ROUTE                         = 0x10
    45  	AF_RXRPC                         = 0x21
    46  	AF_SECURITY                      = 0xe
    47  	AF_SNA                           = 0x16
    48  	AF_TIPC                          = 0x1e
    49  	AF_UNIX                          = 0x1
    50  	AF_UNSPEC                        = 0x0
    51  	AF_WANPIPE                       = 0x19
    52  	AF_X25                           = 0x9
    53  	ARPHRD_ADAPT                     = 0x108
    54  	ARPHRD_APPLETLK                  = 0x8
    55  	ARPHRD_ARCNET                    = 0x7
    56  	ARPHRD_ASH                       = 0x30d
    57  	ARPHRD_ATM                       = 0x13
    58  	ARPHRD_AX25                      = 0x3
    59  	ARPHRD_BIF                       = 0x307
    60  	ARPHRD_CHAOS                     = 0x5
    61  	ARPHRD_CISCO                     = 0x201
    62  	ARPHRD_CSLIP                     = 0x101
    63  	ARPHRD_CSLIP6                    = 0x103
    64  	ARPHRD_DDCMP                     = 0x205
    65  	ARPHRD_DLCI                      = 0xf
    66  	ARPHRD_ECONET                    = 0x30e
    67  	ARPHRD_EETHER                    = 0x2
    68  	ARPHRD_ETHER                     = 0x1
    69  	ARPHRD_EUI64                     = 0x1b
    70  	ARPHRD_FCAL                      = 0x311
    71  	ARPHRD_FCFABRIC                  = 0x313
    72  	ARPHRD_FCPL                      = 0x312
    73  	ARPHRD_FCPP                      = 0x310
    74  	ARPHRD_FDDI                      = 0x306
    75  	ARPHRD_FRAD                      = 0x302
    76  	ARPHRD_HDLC                      = 0x201
    77  	ARPHRD_HIPPI                     = 0x30c
    78  	ARPHRD_HWX25                     = 0x110
    79  	ARPHRD_IEEE1394                  = 0x18
    80  	ARPHRD_IEEE802                   = 0x6
    81  	ARPHRD_IEEE80211                 = 0x321
    82  	ARPHRD_IEEE80211_PRISM           = 0x322
    83  	ARPHRD_IEEE80211_RADIOTAP        = 0x323
    84  	ARPHRD_IEEE802154                = 0x324
    85  	ARPHRD_IEEE802154_PHY            = 0x325
    86  	ARPHRD_IEEE802_TR                = 0x320
    87  	ARPHRD_INFINIBAND                = 0x20
    88  	ARPHRD_IPDDP                     = 0x309
    89  	ARPHRD_IPGRE                     = 0x30a
    90  	ARPHRD_IRDA                      = 0x30f
    91  	ARPHRD_LAPB                      = 0x204
    92  	ARPHRD_LOCALTLK                  = 0x305
    93  	ARPHRD_LOOPBACK                  = 0x304
    94  	ARPHRD_METRICOM                  = 0x17
    95  	ARPHRD_NETROM                    = 0x0
    96  	ARPHRD_NONE                      = 0xfffe
    97  	ARPHRD_PIMREG                    = 0x30b
    98  	ARPHRD_PPP                       = 0x200
    99  	ARPHRD_PRONET                    = 0x4
   100  	ARPHRD_RAWHDLC                   = 0x206
   101  	ARPHRD_ROSE                      = 0x10e
   102  	ARPHRD_RSRVD                     = 0x104
   103  	ARPHRD_SIT                       = 0x308
   104  	ARPHRD_SKIP                      = 0x303
   105  	ARPHRD_SLIP                      = 0x100
   106  	ARPHRD_SLIP6                     = 0x102
   107  	ARPHRD_TUNNEL                    = 0x300
   108  	ARPHRD_TUNNEL6                   = 0x301
   109  	ARPHRD_VOID                      = 0xffff
   110  	ARPHRD_X25                       = 0x10f
   111  	BPF_A                            = 0x10
   112  	BPF_ABS                          = 0x20
   113  	BPF_ADD                          = 0x0
   114  	BPF_ALU                          = 0x4
   115  	BPF_AND                          = 0x50
   116  	BPF_B                            = 0x10
   117  	BPF_DIV                          = 0x30
   118  	BPF_H                            = 0x8
   119  	BPF_IMM                          = 0x0
   120  	BPF_IND                          = 0x40
   121  	BPF_JA                           = 0x0
   122  	BPF_JEQ                          = 0x10
   123  	BPF_JGE                          = 0x30
   124  	BPF_JGT                          = 0x20
   125  	BPF_JMP                          = 0x5
   126  	BPF_JSET                         = 0x40
   127  	BPF_K                            = 0x0
   128  	BPF_LD                           = 0x0
   129  	BPF_LDX                          = 0x1
   130  	BPF_LEN                          = 0x80
   131  	BPF_LSH                          = 0x60
   132  	BPF_MAJOR_VERSION                = 0x1
   133  	BPF_MAXINSNS                     = 0x1000
   134  	BPF_MEM                          = 0x60
   135  	BPF_MEMWORDS                     = 0x10
   136  	BPF_MINOR_VERSION                = 0x1
   137  	BPF_MISC                         = 0x7
   138  	BPF_MSH                          = 0xa0
   139  	BPF_MUL                          = 0x20
   140  	BPF_NEG                          = 0x80
   141  	BPF_OR                           = 0x40
   142  	BPF_RET                          = 0x6
   143  	BPF_RSH                          = 0x70
   144  	BPF_ST                           = 0x2
   145  	BPF_STX                          = 0x3
   146  	BPF_SUB                          = 0x10
   147  	BPF_TAX                          = 0x0
   148  	BPF_TXA                          = 0x80
   149  	BPF_W                            = 0x0
   150  	BPF_X                            = 0x8
   151  	CLONE_CHILD_CLEARTID             = 0x200000
   152  	CLONE_CHILD_SETTID               = 0x1000000
   153  	CLONE_DETACHED                   = 0x400000
   154  	CLONE_FILES                      = 0x400
   155  	CLONE_FS                         = 0x200
   156  	CLONE_IO                         = 0x80000000
   157  	CLONE_NEWIPC                     = 0x8000000
   158  	CLONE_NEWNET                     = 0x40000000
   159  	CLONE_NEWNS                      = 0x20000
   160  	CLONE_NEWPID                     = 0x20000000
   161  	CLONE_NEWUSER                    = 0x10000000
   162  	CLONE_NEWUTS                     = 0x4000000
   163  	CLONE_PARENT                     = 0x8000
   164  	CLONE_PARENT_SETTID              = 0x100000
   165  	CLONE_PTRACE                     = 0x2000
   166  	CLONE_SETTLS                     = 0x80000
   167  	CLONE_SIGHAND                    = 0x800
   168  	CLONE_SYSVSEM                    = 0x40000
   169  	CLONE_THREAD                     = 0x10000
   170  	CLONE_UNTRACED                   = 0x800000
   171  	CLONE_VFORK                      = 0x4000
   172  	CLONE_VM                         = 0x100
   173  	DT_BLK                           = 0x6
   174  	DT_CHR                           = 0x2
   175  	DT_DIR                           = 0x4
   176  	DT_FIFO                          = 0x1
   177  	DT_LNK                           = 0xa
   178  	DT_REG                           = 0x8
   179  	DT_SOCK                          = 0xc
   180  	DT_UNKNOWN                       = 0x0
   181  	DT_WHT                           = 0xe
   182  	ELF_NGREG                        = 0x12
   183  	ELF_PRARGSZ                      = 0x50
   184  	EPOLLERR                         = 0x8
   185  	EPOLLET                          = -0x80000000
   186  	EPOLLHUP                         = 0x10
   187  	EPOLLIN                          = 0x1
   188  	EPOLLMSG                         = 0x400
   189  	EPOLLONESHOT                     = 0x40000000
   190  	EPOLLOUT                         = 0x4
   191  	EPOLLPRI                         = 0x2
   192  	EPOLLRDBAND                      = 0x80
   193  	EPOLLRDHUP                       = 0x2000
   194  	EPOLLRDNORM                      = 0x40
   195  	EPOLLWRBAND                      = 0x200
   196  	EPOLLWRNORM                      = 0x100
   197  	EPOLL_CLOEXEC                    = 0x80000
   198  	EPOLL_CTL_ADD                    = 0x1
   199  	EPOLL_CTL_DEL                    = 0x2
   200  	EPOLL_CTL_MOD                    = 0x3
   201  	EPOLL_NONBLOCK                   = 0x800
   202  	ETH_P_1588                       = 0x88f7
   203  	ETH_P_8021Q                      = 0x8100
   204  	ETH_P_802_2                      = 0x4
   205  	ETH_P_802_3                      = 0x1
   206  	ETH_P_AARP                       = 0x80f3
   207  	ETH_P_ALL                        = 0x3
   208  	ETH_P_AOE                        = 0x88a2
   209  	ETH_P_ARCNET                     = 0x1a
   210  	ETH_P_ARP                        = 0x806
   211  	ETH_P_ATALK                      = 0x809b
   212  	ETH_P_ATMFATE                    = 0x8884
   213  	ETH_P_ATMMPOA                    = 0x884c
   214  	ETH_P_AX25                       = 0x2
   215  	ETH_P_BPQ                        = 0x8ff
   216  	ETH_P_CAIF                       = 0xf7
   217  	ETH_P_CAN                        = 0xc
   218  	ETH_P_CONTROL                    = 0x16
   219  	ETH_P_CUST                       = 0x6006
   220  	ETH_P_DDCMP                      = 0x6
   221  	ETH_P_DEC                        = 0x6000
   222  	ETH_P_DIAG                       = 0x6005
   223  	ETH_P_DNA_DL                     = 0x6001
   224  	ETH_P_DNA_RC                     = 0x6002
   225  	ETH_P_DNA_RT                     = 0x6003
   226  	ETH_P_DSA                        = 0x1b
   227  	ETH_P_ECONET                     = 0x18
   228  	ETH_P_EDSA                       = 0xdada
   229  	ETH_P_FCOE                       = 0x8906
   230  	ETH_P_FIP                        = 0x8914
   231  	ETH_P_HDLC                       = 0x19
   232  	ETH_P_IEEE802154                 = 0xf6
   233  	ETH_P_IEEEPUP                    = 0xa00
   234  	ETH_P_IEEEPUPAT                  = 0xa01
   235  	ETH_P_IP                         = 0x800
   236  	ETH_P_IPV6                       = 0x86dd
   237  	ETH_P_IPX                        = 0x8137
   238  	ETH_P_IRDA                       = 0x17
   239  	ETH_P_LAT                        = 0x6004
   240  	ETH_P_LINK_CTL                   = 0x886c
   241  	ETH_P_LOCALTALK                  = 0x9
   242  	ETH_P_LOOP                       = 0x60
   243  	ETH_P_MOBITEX                    = 0x15
   244  	ETH_P_MPLS_MC                    = 0x8848
   245  	ETH_P_MPLS_UC                    = 0x8847
   246  	ETH_P_PAE                        = 0x888e
   247  	ETH_P_PAUSE                      = 0x8808
   248  	ETH_P_PHONET                     = 0xf5
   249  	ETH_P_PPPTALK                    = 0x10
   250  	ETH_P_PPP_DISC                   = 0x8863
   251  	ETH_P_PPP_MP                     = 0x8
   252  	ETH_P_PPP_SES                    = 0x8864
   253  	ETH_P_PUP                        = 0x200
   254  	ETH_P_PUPAT                      = 0x201
   255  	ETH_P_RARP                       = 0x8035
   256  	ETH_P_SCA                        = 0x6007
   257  	ETH_P_SLOW                       = 0x8809
   258  	ETH_P_SNAP                       = 0x5
   259  	ETH_P_TEB                        = 0x6558
   260  	ETH_P_TIPC                       = 0x88ca
   261  	ETH_P_TRAILER                    = 0x1c
   262  	ETH_P_TR_802_2                   = 0x11
   263  	ETH_P_WAN_PPP                    = 0x7
   264  	ETH_P_WCCP                       = 0x883e
   265  	ETH_P_X25                        = 0x805
   266  	FD_CLOEXEC                       = 0x1
   267  	FD_SETSIZE                       = 0x400
   268  	F_DUPFD                          = 0x0
   269  	F_DUPFD_CLOEXEC                  = 0x406
   270  	F_EXLCK                          = 0x4
   271  	F_GETFD                          = 0x1
   272  	F_GETFL                          = 0x3
   273  	F_GETLEASE                       = 0x401
   274  	F_GETLK                          = 0xc
   275  	F_GETLK64                        = 0xc
   276  	F_GETOWN                         = 0x9
   277  	F_GETOWN_EX                      = 0x10
   278  	F_GETPIPE_SZ                     = 0x408
   279  	F_GETSIG                         = 0xb
   280  	F_LOCK                           = 0x1
   281  	F_NOTIFY                         = 0x402
   282  	F_OK                             = 0x0
   283  	F_RDLCK                          = 0x0
   284  	F_SETFD                          = 0x2
   285  	F_SETFL                          = 0x4
   286  	F_SETLEASE                       = 0x400
   287  	F_SETLK                          = 0xd
   288  	F_SETLK64                        = 0xd
   289  	F_SETLKW                         = 0xe
   290  	F_SETLKW64                       = 0xe
   291  	F_SETOWN                         = 0x8
   292  	F_SETOWN_EX                      = 0xf
   293  	F_SETPIPE_SZ                     = 0x407
   294  	F_SETSIG                         = 0xa
   295  	F_SHLCK                          = 0x8
   296  	F_TEST                           = 0x3
   297  	F_TLOCK                          = 0x2
   298  	F_ULOCK                          = 0x0
   299  	F_UNLCK                          = 0x2
   300  	F_WRLCK                          = 0x1
   301  	ICMPV6_FILTER                    = 0x1
   302  	IFA_F_DADFAILED                  = 0x8
   303  	IFA_F_DEPRECATED                 = 0x20
   304  	IFA_F_HOMEADDRESS                = 0x10
   305  	IFA_F_NODAD                      = 0x2
   306  	IFA_F_OPTIMISTIC                 = 0x4
   307  	IFA_F_PERMANENT                  = 0x80
   308  	IFA_F_SECONDARY                  = 0x1
   309  	IFA_F_TEMPORARY                  = 0x1
   310  	IFA_F_TENTATIVE                  = 0x40
   311  	IFA_MAX                          = 0x7
   312  	IFF_ALLMULTI                     = 0x200
   313  	IFF_AUTOMEDIA                    = 0x4000
   314  	IFF_BROADCAST                    = 0x2
   315  	IFF_DEBUG                        = 0x4
   316  	IFF_DYNAMIC                      = 0x8000
   317  	IFF_LOOPBACK                     = 0x8
   318  	IFF_MASTER                       = 0x400
   319  	IFF_MULTICAST                    = 0x1000
   320  	IFF_NOARP                        = 0x80
   321  	IFF_NOTRAILERS                   = 0x20
   322  	IFF_NO_PI                        = 0x1000
   323  	IFF_ONE_QUEUE                    = 0x2000
   324  	IFF_POINTOPOINT                  = 0x10
   325  	IFF_PORTSEL                      = 0x2000
   326  	IFF_PROMISC                      = 0x100
   327  	IFF_RUNNING                      = 0x40
   328  	IFF_SLAVE                        = 0x800
   329  	IFF_TAP                          = 0x2
   330  	IFF_TUN                          = 0x1
   331  	IFF_TUN_EXCL                     = 0x8000
   332  	IFF_UP                           = 0x1
   333  	IFF_VNET_HDR                     = 0x4000
   334  	IFNAMSIZ                         = 0x10
   335  	IN_ACCESS                        = 0x1
   336  	IN_ALL_EVENTS                    = 0xfff
   337  	IN_ATTRIB                        = 0x4
   338  	IN_CLASSA_HOST                   = 0xffffff
   339  	IN_CLASSA_MAX                    = 0x80
   340  	IN_CLASSA_NET                    = 0xff000000
   341  	IN_CLASSA_NSHIFT                 = 0x18
   342  	IN_CLASSB_HOST                   = 0xffff
   343  	IN_CLASSB_MAX                    = 0x10000
   344  	IN_CLASSB_NET                    = 0xffff0000
   345  	IN_CLASSB_NSHIFT                 = 0x10
   346  	IN_CLASSC_HOST                   = 0xff
   347  	IN_CLASSC_NET                    = 0xffffff00
   348  	IN_CLASSC_NSHIFT                 = 0x8
   349  	IN_CLOEXEC                       = 0x80000
   350  	IN_CLOSE                         = 0x18
   351  	IN_CLOSE_NOWRITE                 = 0x10
   352  	IN_CLOSE_WRITE                   = 0x8
   353  	IN_CREATE                        = 0x100
   354  	IN_DELETE                        = 0x200
   355  	IN_DELETE_SELF                   = 0x400
   356  	IN_DONT_FOLLOW                   = 0x2000000
   357  	IN_EXCL_UNLINK                   = 0x4000000
   358  	IN_IGNORED                       = 0x8000
   359  	IN_ISDIR                         = 0x40000000
   360  	IN_LOOPBACKNET                   = 0x7f
   361  	IN_MASK_ADD                      = 0x20000000
   362  	IN_MODIFY                        = 0x2
   363  	IN_MOVE                          = 0xc0
   364  	IN_MOVED_FROM                    = 0x40
   365  	IN_MOVED_TO                      = 0x80
   366  	IN_MOVE_SELF                     = 0x800
   367  	IN_NONBLOCK                      = 0x800
   368  	IN_ONESHOT                       = 0x80000000
   369  	IN_ONLYDIR                       = 0x1000000
   370  	IN_OPEN                          = 0x20
   371  	IN_Q_OVERFLOW                    = 0x4000
   372  	IN_UNMOUNT                       = 0x2000
   373  	IPPROTO_AH                       = 0x33
   374  	IPPROTO_COMP                     = 0x6c
   375  	IPPROTO_DCCP                     = 0x21
   376  	IPPROTO_DSTOPTS                  = 0x3c
   377  	IPPROTO_EGP                      = 0x8
   378  	IPPROTO_ENCAP                    = 0x62
   379  	IPPROTO_ESP                      = 0x32
   380  	IPPROTO_FRAGMENT                 = 0x2c
   381  	IPPROTO_GRE                      = 0x2f
   382  	IPPROTO_HOPOPTS                  = 0x0
   383  	IPPROTO_ICMP                     = 0x1
   384  	IPPROTO_ICMPV6                   = 0x3a
   385  	IPPROTO_IDP                      = 0x16
   386  	IPPROTO_IGMP                     = 0x2
   387  	IPPROTO_IP                       = 0x0
   388  	IPPROTO_IPIP                     = 0x4
   389  	IPPROTO_IPV6                     = 0x29
   390  	IPPROTO_MTP                      = 0x5c
   391  	IPPROTO_NONE                     = 0x3b
   392  	IPPROTO_PIM                      = 0x67
   393  	IPPROTO_PUP                      = 0xc
   394  	IPPROTO_RAW                      = 0xff
   395  	IPPROTO_ROUTING                  = 0x2b
   396  	IPPROTO_RSVP                     = 0x2e
   397  	IPPROTO_SCTP                     = 0x84
   398  	IPPROTO_TCP                      = 0x6
   399  	IPPROTO_TP                       = 0x1d
   400  	IPPROTO_UDP                      = 0x11
   401  	IPPROTO_UDPLITE                  = 0x88
   402  	IPV6_2292DSTOPTS                 = 0x4
   403  	IPV6_2292HOPLIMIT                = 0x8
   404  	IPV6_2292HOPOPTS                 = 0x3
   405  	IPV6_2292PKTINFO                 = 0x2
   406  	IPV6_2292PKTOPTIONS              = 0x6
   407  	IPV6_2292RTHDR                   = 0x5
   408  	IPV6_ADDRFORM                    = 0x1
   409  	IPV6_ADD_MEMBERSHIP              = 0x14
   410  	IPV6_AUTHHDR                     = 0xa
   411  	IPV6_CHECKSUM                    = 0x7
   412  	IPV6_DROP_MEMBERSHIP             = 0x15
   413  	IPV6_DSTOPTS                     = 0x3b
   414  	IPV6_HOPLIMIT                    = 0x34
   415  	IPV6_HOPOPTS                     = 0x36
   416  	IPV6_IPSEC_POLICY                = 0x22
   417  	IPV6_JOIN_ANYCAST                = 0x1b
   418  	IPV6_JOIN_GROUP                  = 0x14
   419  	IPV6_LEAVE_ANYCAST               = 0x1c
   420  	IPV6_LEAVE_GROUP                 = 0x15
   421  	IPV6_MTU                         = 0x18
   422  	IPV6_MTU_DISCOVER                = 0x17
   423  	IPV6_MULTICAST_HOPS              = 0x12
   424  	IPV6_MULTICAST_IF                = 0x11
   425  	IPV6_MULTICAST_LOOP              = 0x13
   426  	IPV6_NEXTHOP                     = 0x9
   427  	IPV6_PKTINFO                     = 0x32
   428  	IPV6_PMTUDISC_DO                 = 0x2
   429  	IPV6_PMTUDISC_DONT               = 0x0
   430  	IPV6_PMTUDISC_PROBE              = 0x3
   431  	IPV6_PMTUDISC_WANT               = 0x1
   432  	IPV6_RECVDSTOPTS                 = 0x3a
   433  	IPV6_RECVERR                     = 0x19
   434  	IPV6_RECVHOPLIMIT                = 0x33
   435  	IPV6_RECVHOPOPTS                 = 0x35
   436  	IPV6_RECVPKTINFO                 = 0x31
   437  	IPV6_RECVRTHDR                   = 0x38
   438  	IPV6_RECVTCLASS                  = 0x42
   439  	IPV6_ROUTER_ALERT                = 0x16
   440  	IPV6_RTHDR                       = 0x39
   441  	IPV6_RTHDRDSTOPTS                = 0x37
   442  	IPV6_RTHDR_LOOSE                 = 0x0
   443  	IPV6_RTHDR_STRICT                = 0x1
   444  	IPV6_RTHDR_TYPE_0                = 0x0
   445  	IPV6_RXDSTOPTS                   = 0x3b
   446  	IPV6_RXHOPOPTS                   = 0x36
   447  	IPV6_TCLASS                      = 0x43
   448  	IPV6_UNICAST_HOPS                = 0x10
   449  	IPV6_V6ONLY                      = 0x1a
   450  	IPV6_XFRM_POLICY                 = 0x23
   451  	IP_ADD_MEMBERSHIP                = 0x23
   452  	IP_ADD_SOURCE_MEMBERSHIP         = 0x27
   453  	IP_BLOCK_SOURCE                  = 0x26
   454  	IP_DEFAULT_MULTICAST_LOOP        = 0x1
   455  	IP_DEFAULT_MULTICAST_TTL         = 0x1
   456  	IP_DF                            = 0x4000
   457  	IP_DROP_MEMBERSHIP               = 0x24
   458  	IP_DROP_SOURCE_MEMBERSHIP        = 0x28
   459  	IP_FREEBIND                      = 0xf
   460  	IP_HDRINCL                       = 0x3
   461  	IP_IPSEC_POLICY                  = 0x10
   462  	IP_MAXPACKET                     = 0xffff
   463  	IP_MAX_MEMBERSHIPS               = 0x14
   464  	IP_MF                            = 0x2000
   465  	IP_MINTTL                        = 0x15
   466  	IP_MSFILTER                      = 0x29
   467  	IP_MSS                           = 0x240
   468  	IP_MTU                           = 0xe
   469  	IP_MTU_DISCOVER                  = 0xa
   470  	IP_MULTICAST_IF                  = 0x20
   471  	IP_MULTICAST_LOOP                = 0x22
   472  	IP_MULTICAST_TTL                 = 0x21
   473  	IP_OFFMASK                       = 0x1fff
   474  	IP_OPTIONS                       = 0x4
   475  	IP_ORIGDSTADDR                   = 0x14
   476  	IP_PASSSEC                       = 0x12
   477  	IP_PKTINFO                       = 0x8
   478  	IP_PKTOPTIONS                    = 0x9
   479  	IP_PMTUDISC                      = 0xa
   480  	IP_PMTUDISC_DO                   = 0x2
   481  	IP_PMTUDISC_DONT                 = 0x0
   482  	IP_PMTUDISC_PROBE                = 0x3
   483  	IP_PMTUDISC_WANT                 = 0x1
   484  	IP_RECVERR                       = 0xb
   485  	IP_RECVOPTS                      = 0x6
   486  	IP_RECVORIGDSTADDR               = 0x14
   487  	IP_RECVRETOPTS                   = 0x7
   488  	IP_RECVTOS                       = 0xd
   489  	IP_RECVTTL                       = 0xc
   490  	IP_RETOPTS                       = 0x7
   491  	IP_RF                            = 0x8000
   492  	IP_ROUTER_ALERT                  = 0x5
   493  	IP_TOS                           = 0x1
   494  	IP_TRANSPARENT                   = 0x13
   495  	IP_TTL                           = 0x2
   496  	IP_UNBLOCK_SOURCE                = 0x25
   497  	IP_XFRM_POLICY                   = 0x11
   498  	LINUX_REBOOT_CMD_CAD_OFF         = 0x0
   499  	LINUX_REBOOT_CMD_CAD_ON          = 0x89abcdef
   500  	LINUX_REBOOT_CMD_HALT            = 0xcdef0123
   501  	LINUX_REBOOT_CMD_KEXEC           = 0x45584543
   502  	LINUX_REBOOT_CMD_POWER_OFF       = 0x4321fedc
   503  	LINUX_REBOOT_CMD_RESTART         = 0x1234567
   504  	LINUX_REBOOT_CMD_RESTART2        = 0xa1b2c3d4
   505  	LINUX_REBOOT_CMD_SW_SUSPEND      = 0xd000fce2
   506  	LINUX_REBOOT_MAGIC1              = 0xfee1dead
   507  	LINUX_REBOOT_MAGIC2              = 0x28121969
   508  	LOCK_EX                          = 0x2
   509  	LOCK_NB                          = 0x4
   510  	LOCK_SH                          = 0x1
   511  	LOCK_UN                          = 0x8
   512  	MADV_DOFORK                      = 0xb
   513  	MADV_DONTFORK                    = 0xa
   514  	MADV_DONTNEED                    = 0x4
   515  	MADV_HUGEPAGE                    = 0xe
   516  	MADV_HWPOISON                    = 0x64
   517  	MADV_MERGEABLE                   = 0xc
   518  	MADV_NOHUGEPAGE                  = 0xf
   519  	MADV_NORMAL                      = 0x0
   520  	MADV_RANDOM                      = 0x1
   521  	MADV_REMOVE                      = 0x9
   522  	MADV_SEQUENTIAL                  = 0x2
   523  	MADV_UNMERGEABLE                 = 0xd
   524  	MADV_WILLNEED                    = 0x3
   525  	MAP_ANON                         = 0x20
   526  	MAP_ANONYMOUS                    = 0x20
   527  	MAP_DENYWRITE                    = 0x800
   528  	MAP_EXECUTABLE                   = 0x1000
   529  	MAP_FILE                         = 0x0
   530  	MAP_FIXED                        = 0x10
   531  	MAP_GROWSDOWN                    = 0x100
   532  	MAP_LOCKED                       = 0x2000
   533  	MAP_NONBLOCK                     = 0x10000
   534  	MAP_NORESERVE                    = 0x4000
   535  	MAP_POPULATE                     = 0x8000
   536  	MAP_PRIVATE                      = 0x2
   537  	MAP_SHARED                       = 0x1
   538  	MAP_TYPE                         = 0xf
   539  	MCL_CURRENT                      = 0x1
   540  	MCL_FUTURE                       = 0x2
   541  	MNT_DETACH                       = 0x2
   542  	MNT_EXPIRE                       = 0x4
   543  	MNT_FORCE                        = 0x1
   544  	MSG_CMSG_CLOEXEC                 = 0x40000000
   545  	MSG_CONFIRM                      = 0x800
   546  	MSG_CTRUNC                       = 0x8
   547  	MSG_DONTROUTE                    = 0x4
   548  	MSG_DONTWAIT                     = 0x40
   549  	MSG_EOR                          = 0x80
   550  	MSG_ERRQUEUE                     = 0x2000
   551  	MSG_FASTOPEN                     = 0x20000000
   552  	MSG_FIN                          = 0x200
   553  	MSG_MORE                         = 0x8000
   554  	MSG_NOSIGNAL                     = 0x4000
   555  	MSG_OOB                          = 0x1
   556  	MSG_PEEK                         = 0x2
   557  	MSG_PROXY                        = 0x10
   558  	MSG_RST                          = 0x1000
   559  	MSG_SYN                          = 0x400
   560  	MSG_TRUNC                        = 0x20
   561  	MSG_TRYHARD                      = 0x4
   562  	MSG_WAITALL                      = 0x100
   563  	MSG_WAITFORONE                   = 0x10000
   564  	MS_ACTIVE                        = 0x40000000
   565  	MS_ASYNC                         = 0x1
   566  	MS_BIND                          = 0x1000
   567  	MS_DIRSYNC                       = 0x80
   568  	MS_INVALIDATE                    = 0x2
   569  	MS_I_VERSION                     = 0x800000
   570  	MS_KERNMOUNT                     = 0x400000
   571  	MS_MANDLOCK                      = 0x40
   572  	MS_MGC_MSK                       = 0xffff0000
   573  	MS_MGC_VAL                       = 0xc0ed0000
   574  	MS_MOVE                          = 0x2000
   575  	MS_NOATIME                       = 0x400
   576  	MS_NODEV                         = 0x4
   577  	MS_NODIRATIME                    = 0x800
   578  	MS_NOEXEC                        = 0x8
   579  	MS_NOSUID                        = 0x2
   580  	MS_NOUSER                        = -0x80000000
   581  	MS_POSIXACL                      = 0x10000
   582  	MS_PRIVATE                       = 0x40000
   583  	MS_RDONLY                        = 0x1
   584  	MS_REC                           = 0x4000
   585  	MS_RELATIME                      = 0x200000
   586  	MS_REMOUNT                       = 0x20
   587  	MS_RMT_MASK                      = 0x800051
   588  	MS_SHARED                        = 0x100000
   589  	MS_SILENT                        = 0x8000
   590  	MS_SLAVE                         = 0x80000
   591  	MS_STRICTATIME                   = 0x1000000
   592  	MS_SYNC                          = 0x4
   593  	MS_SYNCHRONOUS                   = 0x10
   594  	MS_UNBINDABLE                    = 0x20000
   595  	NAME_MAX                         = 0xff
   596  	NETLINK_ADD_MEMBERSHIP           = 0x1
   597  	NETLINK_AUDIT                    = 0x9
   598  	NETLINK_BROADCAST_ERROR          = 0x4
   599  	NETLINK_CONNECTOR                = 0xb
   600  	NETLINK_DNRTMSG                  = 0xe
   601  	NETLINK_DROP_MEMBERSHIP          = 0x2
   602  	NETLINK_ECRYPTFS                 = 0x13
   603  	NETLINK_FIB_LOOKUP               = 0xa
   604  	NETLINK_FIREWALL                 = 0x3
   605  	NETLINK_GENERIC                  = 0x10
   606  	NETLINK_INET_DIAG                = 0x4
   607  	NETLINK_IP6_FW                   = 0xd
   608  	NETLINK_ISCSI                    = 0x8
   609  	NETLINK_KOBJECT_UEVENT           = 0xf
   610  	NETLINK_NETFILTER                = 0xc
   611  	NETLINK_NFLOG                    = 0x5
   612  	NETLINK_NO_ENOBUFS               = 0x5
   613  	NETLINK_PKTINFO                  = 0x3
   614  	NETLINK_RDMA                     = 0x14
   615  	NETLINK_ROUTE                    = 0x0
   616  	NETLINK_SCSITRANSPORT            = 0x12
   617  	NETLINK_SELINUX                  = 0x7
   618  	NETLINK_UNUSED                   = 0x1
   619  	NETLINK_USERSOCK                 = 0x2
   620  	NETLINK_XFRM                     = 0x6
   621  	NLA_ALIGNTO                      = 0x4
   622  	NLA_F_NESTED                     = 0x8000
   623  	NLA_F_NET_BYTEORDER              = 0x4000
   624  	NLA_HDRLEN                       = 0x4
   625  	NLMSG_ALIGNTO                    = 0x4
   626  	NLMSG_DONE                       = 0x3
   627  	NLMSG_ERROR                      = 0x2
   628  	NLMSG_HDRLEN                     = 0x10
   629  	NLMSG_MIN_TYPE                   = 0x10
   630  	NLMSG_NOOP                       = 0x1
   631  	NLMSG_OVERRUN                    = 0x4
   632  	NLM_F_ACK                        = 0x4
   633  	NLM_F_APPEND                     = 0x800
   634  	NLM_F_ATOMIC                     = 0x400
   635  	NLM_F_CREATE                     = 0x400
   636  	NLM_F_DUMP                       = 0x300
   637  	NLM_F_ECHO                       = 0x8
   638  	NLM_F_EXCL                       = 0x200
   639  	NLM_F_MATCH                      = 0x200
   640  	NLM_F_MULTI                      = 0x2
   641  	NLM_F_REPLACE                    = 0x100
   642  	NLM_F_REQUEST                    = 0x1
   643  	NLM_F_ROOT                       = 0x100
   644  	O_ACCMODE                        = 0x3
   645  	O_APPEND                         = 0x400
   646  	O_ASYNC                          = 0x2000
   647  	O_CLOEXEC                        = 0x80000
   648  	O_CREAT                          = 0x40
   649  	O_DIRECT                         = 0x10000
   650  	O_DIRECTORY                      = 0x4000
   651  	O_DSYNC                          = 0x1000
   652  	O_EXCL                           = 0x80
   653  	O_FSYNC                          = 0x1000
   654  	O_LARGEFILE                      = 0x20000
   655  	O_NDELAY                         = 0x800
   656  	O_NOATIME                        = 0x40000
   657  	O_NOCTTY                         = 0x100
   658  	O_NOFOLLOW                       = 0x8000
   659  	O_NONBLOCK                       = 0x800
   660  	O_RDONLY                         = 0x0
   661  	O_RDWR                           = 0x2
   662  	O_RSYNC                          = 0x1000
   663  	O_SYNC                           = 0x1000
   664  	O_TRUNC                          = 0x200
   665  	O_WRONLY                         = 0x1
   666  	PACKET_ADD_MEMBERSHIP            = 0x1
   667  	PACKET_BROADCAST                 = 0x1
   668  	PACKET_DROP_MEMBERSHIP           = 0x2
   669  	PACKET_FASTROUTE                 = 0x6
   670  	PACKET_HOST                      = 0x0
   671  	PACKET_LOOPBACK                  = 0x5
   672  	PACKET_MR_ALLMULTI               = 0x2
   673  	PACKET_MR_MULTICAST              = 0x0
   674  	PACKET_MR_PROMISC                = 0x1
   675  	PACKET_MULTICAST                 = 0x2
   676  	PACKET_OTHERHOST                 = 0x3
   677  	PACKET_OUTGOING                  = 0x4
   678  	PACKET_RECV_OUTPUT               = 0x3
   679  	PACKET_RX_RING                   = 0x5
   680  	PACKET_STATISTICS                = 0x6
   681  	PRIO_PGRP                        = 0x1
   682  	PRIO_PROCESS                     = 0x0
   683  	PRIO_USER                        = 0x2
   684  	PROT_EXEC                        = 0x4
   685  	PROT_GROWSDOWN                   = 0x1000000
   686  	PROT_GROWSUP                     = 0x2000000
   687  	PROT_NONE                        = 0x0
   688  	PROT_READ                        = 0x1
   689  	PROT_WRITE                       = 0x2
   690  	PR_CAPBSET_DROP                  = 0x18
   691  	PR_CAPBSET_READ                  = 0x17
   692  	PR_CLEAR_SECCOMP_FILTER          = 0x25
   693  	PR_ENDIAN_BIG                    = 0x0
   694  	PR_ENDIAN_LITTLE                 = 0x1
   695  	PR_ENDIAN_PPC_LITTLE             = 0x2
   696  	PR_FPEMU_NOPRINT                 = 0x1
   697  	PR_FPEMU_SIGFPE                  = 0x2
   698  	PR_FP_EXC_ASYNC                  = 0x2
   699  	PR_FP_EXC_DISABLED               = 0x0
   700  	PR_FP_EXC_DIV                    = 0x10000
   701  	PR_FP_EXC_INV                    = 0x100000
   702  	PR_FP_EXC_NONRECOV               = 0x1
   703  	PR_FP_EXC_OVF                    = 0x20000
   704  	PR_FP_EXC_PRECISE                = 0x3
   705  	PR_FP_EXC_RES                    = 0x80000
   706  	PR_FP_EXC_SW_ENABLE              = 0x80
   707  	PR_FP_EXC_UND                    = 0x40000
   708  	PR_GET_DUMPABLE                  = 0x3
   709  	PR_GET_ENDIAN                    = 0x13
   710  	PR_GET_FPEMU                     = 0x9
   711  	PR_GET_FPEXC                     = 0xb
   712  	PR_GET_KEEPCAPS                  = 0x7
   713  	PR_GET_NAME                      = 0x10
   714  	PR_GET_PDEATHSIG                 = 0x2
   715  	PR_GET_SECCOMP                   = 0x15
   716  	PR_GET_SECCOMP_FILTER            = 0x23
   717  	PR_GET_SECUREBITS                = 0x1b
   718  	PR_GET_TIMERSLACK                = 0x1e
   719  	PR_GET_TIMING                    = 0xd
   720  	PR_GET_TSC                       = 0x19
   721  	PR_GET_UNALIGN                   = 0x5
   722  	PR_MCE_KILL                      = 0x21
   723  	PR_MCE_KILL_CLEAR                = 0x0
   724  	PR_MCE_KILL_DEFAULT              = 0x2
   725  	PR_MCE_KILL_EARLY                = 0x1
   726  	PR_MCE_KILL_GET                  = 0x22
   727  	PR_MCE_KILL_LATE                 = 0x0
   728  	PR_MCE_KILL_SET                  = 0x1
   729  	PR_SECCOMP_FILTER_EVENT          = 0x1
   730  	PR_SECCOMP_FILTER_SYSCALL        = 0x0
   731  	PR_SET_DUMPABLE                  = 0x4
   732  	PR_SET_ENDIAN                    = 0x14
   733  	PR_SET_FPEMU                     = 0xa
   734  	PR_SET_FPEXC                     = 0xc
   735  	PR_SET_KEEPCAPS                  = 0x8
   736  	PR_SET_NAME                      = 0xf
   737  	PR_SET_PDEATHSIG                 = 0x1
   738  	PR_SET_PTRACER                   = 0x59616d61
   739  	PR_SET_SECCOMP                   = 0x16
   740  	PR_SET_SECCOMP_FILTER            = 0x24
   741  	PR_SET_SECUREBITS                = 0x1c
   742  	PR_SET_TIMERSLACK                = 0x1d
   743  	PR_SET_TIMING                    = 0xe
   744  	PR_SET_TSC                       = 0x1a
   745  	PR_SET_UNALIGN                   = 0x6
   746  	PR_TASK_PERF_EVENTS_DISABLE      = 0x1f
   747  	PR_TASK_PERF_EVENTS_ENABLE       = 0x20
   748  	PR_TIMING_STATISTICAL            = 0x0
   749  	PR_TIMING_TIMESTAMP              = 0x1
   750  	PR_TSC_ENABLE                    = 0x1
   751  	PR_TSC_SIGSEGV                   = 0x2
   752  	PR_UNALIGN_NOPRINT               = 0x1
   753  	PR_UNALIGN_SIGBUS                = 0x2
   754  	PTRACE_ATTACH                    = 0x10
   755  	PTRACE_CONT                      = 0x7
   756  	PTRACE_DETACH                    = 0x11
   757  	PTRACE_EVENT_CLONE               = 0x3
   758  	PTRACE_EVENT_EXEC                = 0x4
   759  	PTRACE_EVENT_EXIT                = 0x6
   760  	PTRACE_EVENT_FORK                = 0x1
   761  	PTRACE_EVENT_VFORK               = 0x2
   762  	PTRACE_EVENT_VFORK_DONE          = 0x5
   763  	PTRACE_GETCRUNCHREGS             = 0x19
   764  	PTRACE_GETEVENTMSG               = 0x4201
   765  	PTRACE_GETFPREGS                 = 0xe
   766  	PTRACE_GETHBPREGS                = 0x1d
   767  	PTRACE_GETREGS                   = 0xc
   768  	PTRACE_GETREGSET                 = 0x4204
   769  	PTRACE_GETSIGINFO                = 0x4202
   770  	PTRACE_GETVFPREGS                = 0x1b
   771  	PTRACE_GETWMMXREGS               = 0x12
   772  	PTRACE_GET_THREAD_AREA           = 0x16
   773  	PTRACE_KILL                      = 0x8
   774  	PTRACE_OLDSETOPTIONS             = 0x15
   775  	PTRACE_O_MASK                    = 0x7f
   776  	PTRACE_O_TRACECLONE              = 0x8
   777  	PTRACE_O_TRACEEXEC               = 0x10
   778  	PTRACE_O_TRACEEXIT               = 0x40
   779  	PTRACE_O_TRACEFORK               = 0x2
   780  	PTRACE_O_TRACESYSGOOD            = 0x1
   781  	PTRACE_O_TRACEVFORK              = 0x4
   782  	PTRACE_O_TRACEVFORKDONE          = 0x20
   783  	PTRACE_PEEKDATA                  = 0x2
   784  	PTRACE_PEEKTEXT                  = 0x1
   785  	PTRACE_PEEKUSR                   = 0x3
   786  	PTRACE_POKEDATA                  = 0x5
   787  	PTRACE_POKETEXT                  = 0x4
   788  	PTRACE_POKEUSR                   = 0x6
   789  	PTRACE_SETCRUNCHREGS             = 0x1a
   790  	PTRACE_SETFPREGS                 = 0xf
   791  	PTRACE_SETHBPREGS                = 0x1e
   792  	PTRACE_SETOPTIONS                = 0x4200
   793  	PTRACE_SETREGS                   = 0xd
   794  	PTRACE_SETREGSET                 = 0x4205
   795  	PTRACE_SETSIGINFO                = 0x4203
   796  	PTRACE_SETVFPREGS                = 0x1c
   797  	PTRACE_SETWMMXREGS               = 0x13
   798  	PTRACE_SET_SYSCALL               = 0x17
   799  	PTRACE_SINGLESTEP                = 0x9
   800  	PTRACE_SYSCALL                   = 0x18
   801  	PTRACE_TRACEME                   = 0x0
   802  	PT_DATA_ADDR                     = 0x10004
   803  	PT_TEXT_ADDR                     = 0x10000
   804  	PT_TEXT_END_ADDR                 = 0x10008
   805  	RLIMIT_AS                        = 0x9
   806  	RLIMIT_CORE                      = 0x4
   807  	RLIMIT_CPU                       = 0x0
   808  	RLIMIT_DATA                      = 0x2
   809  	RLIMIT_FSIZE                     = 0x1
   810  	RLIMIT_NOFILE                    = 0x7
   811  	RLIMIT_STACK                     = 0x3
   812  	RLIM_INFINITY                    = -0x1
   813  	RTAX_ADVMSS                      = 0x8
   814  	RTAX_CWND                        = 0x7
   815  	RTAX_FEATURES                    = 0xc
   816  	RTAX_FEATURE_ALLFRAG             = 0x8
   817  	RTAX_FEATURE_ECN                 = 0x1
   818  	RTAX_FEATURE_SACK                = 0x2
   819  	RTAX_FEATURE_TIMESTAMP           = 0x4
   820  	RTAX_HOPLIMIT                    = 0xa
   821  	RTAX_INITCWND                    = 0xb
   822  	RTAX_INITRWND                    = 0xe
   823  	RTAX_LOCK                        = 0x1
   824  	RTAX_MAX                         = 0xe
   825  	RTAX_MTU                         = 0x2
   826  	RTAX_REORDERING                  = 0x9
   827  	RTAX_RTO_MIN                     = 0xd
   828  	RTAX_RTT                         = 0x4
   829  	RTAX_RTTVAR                      = 0x5
   830  	RTAX_SSTHRESH                    = 0x6
   831  	RTAX_UNSPEC                      = 0x0
   832  	RTAX_WINDOW                      = 0x3
   833  	RTA_ALIGNTO                      = 0x4
   834  	RTA_MAX                          = 0x10
   835  	RTCF_DIRECTSRC                   = 0x4000000
   836  	RTCF_DOREDIRECT                  = 0x1000000
   837  	RTCF_LOG                         = 0x2000000
   838  	RTCF_MASQ                        = 0x400000
   839  	RTCF_NAT                         = 0x800000
   840  	RTCF_VALVE                       = 0x200000
   841  	RTF_ADDRCLASSMASK                = 0xf8000000
   842  	RTF_ADDRCONF                     = 0x40000
   843  	RTF_ALLONLINK                    = 0x20000
   844  	RTF_BROADCAST                    = 0x10000000
   845  	RTF_CACHE                        = 0x1000000
   846  	RTF_DEFAULT                      = 0x10000
   847  	RTF_DYNAMIC                      = 0x10
   848  	RTF_FLOW                         = 0x2000000
   849  	RTF_GATEWAY                      = 0x2
   850  	RTF_HOST                         = 0x4
   851  	RTF_INTERFACE                    = 0x40000000
   852  	RTF_IRTT                         = 0x100
   853  	RTF_LINKRT                       = 0x100000
   854  	RTF_LOCAL                        = 0x80000000
   855  	RTF_MODIFIED                     = 0x20
   856  	RTF_MSS                          = 0x40
   857  	RTF_MTU                          = 0x40
   858  	RTF_MULTICAST                    = 0x20000000
   859  	RTF_NAT                          = 0x8000000
   860  	RTF_NOFORWARD                    = 0x1000
   861  	RTF_NONEXTHOP                    = 0x200000
   862  	RTF_NOPMTUDISC                   = 0x4000
   863  	RTF_POLICY                       = 0x4000000
   864  	RTF_REINSTATE                    = 0x8
   865  	RTF_REJECT                       = 0x200
   866  	RTF_STATIC                       = 0x400
   867  	RTF_THROW                        = 0x2000
   868  	RTF_UP                           = 0x1
   869  	RTF_WINDOW                       = 0x80
   870  	RTF_XRESOLVE                     = 0x800
   871  	RTM_BASE                         = 0x10
   872  	RTM_DELACTION                    = 0x31
   873  	RTM_DELADDR                      = 0x15
   874  	RTM_DELADDRLABEL                 = 0x49
   875  	RTM_DELLINK                      = 0x11
   876  	RTM_DELNEIGH                     = 0x1d
   877  	RTM_DELQDISC                     = 0x25
   878  	RTM_DELROUTE                     = 0x19
   879  	RTM_DELRULE                      = 0x21
   880  	RTM_DELTCLASS                    = 0x29
   881  	RTM_DELTFILTER                   = 0x2d
   882  	RTM_F_CLONED                     = 0x200
   883  	RTM_F_EQUALIZE                   = 0x400
   884  	RTM_F_NOTIFY                     = 0x100
   885  	RTM_F_PREFIX                     = 0x800
   886  	RTM_GETACTION                    = 0x32
   887  	RTM_GETADDR                      = 0x16
   888  	RTM_GETADDRLABEL                 = 0x4a
   889  	RTM_GETANYCAST                   = 0x3e
   890  	RTM_GETDCB                       = 0x4e
   891  	RTM_GETLINK                      = 0x12
   892  	RTM_GETMULTICAST                 = 0x3a
   893  	RTM_GETNEIGH                     = 0x1e
   894  	RTM_GETNEIGHTBL                  = 0x42
   895  	RTM_GETQDISC                     = 0x26
   896  	RTM_GETROUTE                     = 0x1a
   897  	RTM_GETRULE                      = 0x22
   898  	RTM_GETTCLASS                    = 0x2a
   899  	RTM_GETTFILTER                   = 0x2e
   900  	RTM_MAX                          = 0x4f
   901  	RTM_NEWACTION                    = 0x30
   902  	RTM_NEWADDR                      = 0x14
   903  	RTM_NEWADDRLABEL                 = 0x48
   904  	RTM_NEWLINK                      = 0x10
   905  	RTM_NEWNDUSEROPT                 = 0x44
   906  	RTM_NEWNEIGH                     = 0x1c
   907  	RTM_NEWNEIGHTBL                  = 0x40
   908  	RTM_NEWPREFIX                    = 0x34
   909  	RTM_NEWQDISC                     = 0x24
   910  	RTM_NEWROUTE                     = 0x18
   911  	RTM_NEWRULE                      = 0x20
   912  	RTM_NEWTCLASS                    = 0x28
   913  	RTM_NEWTFILTER                   = 0x2c
   914  	RTM_NR_FAMILIES                  = 0x10
   915  	RTM_NR_MSGTYPES                  = 0x40
   916  	RTM_SETDCB                       = 0x4f
   917  	RTM_SETLINK                      = 0x13
   918  	RTM_SETNEIGHTBL                  = 0x43
   919  	RTNH_ALIGNTO                     = 0x4
   920  	RTNH_F_DEAD                      = 0x1
   921  	RTNH_F_ONLINK                    = 0x4
   922  	RTNH_F_PERVASIVE                 = 0x2
   923  	RTN_MAX                          = 0xb
   924  	RTPROT_BIRD                      = 0xc
   925  	RTPROT_BOOT                      = 0x3
   926  	RTPROT_DHCP                      = 0x10
   927  	RTPROT_DNROUTED                  = 0xd
   928  	RTPROT_GATED                     = 0x8
   929  	RTPROT_KERNEL                    = 0x2
   930  	RTPROT_MRT                       = 0xa
   931  	RTPROT_NTK                       = 0xf
   932  	RTPROT_RA                        = 0x9
   933  	RTPROT_REDIRECT                  = 0x1
   934  	RTPROT_STATIC                    = 0x4
   935  	RTPROT_UNSPEC                    = 0x0
   936  	RTPROT_XORP                      = 0xe
   937  	RTPROT_ZEBRA                     = 0xb
   938  	RT_CLASS_DEFAULT                 = 0xfd
   939  	RT_CLASS_LOCAL                   = 0xff
   940  	RT_CLASS_MAIN                    = 0xfe
   941  	RT_CLASS_MAX                     = 0xff
   942  	RT_CLASS_UNSPEC                  = 0x0
   943  	RUSAGE_CHILDREN                  = -0x1
   944  	RUSAGE_SELF                      = 0x0
   945  	RUSAGE_THREAD                    = 0x1
   946  	SCM_CREDENTIALS                  = 0x2
   947  	SCM_RIGHTS                       = 0x1
   948  	SCM_TIMESTAMP                    = 0x1d
   949  	SCM_TIMESTAMPING                 = 0x25
   950  	SCM_TIMESTAMPNS                  = 0x23
   951  	SHUT_RD                          = 0x0
   952  	SHUT_RDWR                        = 0x2
   953  	SHUT_WR                          = 0x1
   954  	SIOCADDDLCI                      = 0x8980
   955  	SIOCADDMULTI                     = 0x8931
   956  	SIOCADDRT                        = 0x890b
   957  	SIOCATMARK                       = 0x8905
   958  	SIOCDARP                         = 0x8953
   959  	SIOCDELDLCI                      = 0x8981
   960  	SIOCDELMULTI                     = 0x8932
   961  	SIOCDELRT                        = 0x890c
   962  	SIOCDEVPRIVATE                   = 0x89f0
   963  	SIOCDIFADDR                      = 0x8936
   964  	SIOCDRARP                        = 0x8960
   965  	SIOCGARP                         = 0x8954
   966  	SIOCGIFADDR                      = 0x8915
   967  	SIOCGIFBR                        = 0x8940
   968  	SIOCGIFBRDADDR                   = 0x8919
   969  	SIOCGIFCONF                      = 0x8912
   970  	SIOCGIFCOUNT                     = 0x8938
   971  	SIOCGIFDSTADDR                   = 0x8917
   972  	SIOCGIFENCAP                     = 0x8925
   973  	SIOCGIFFLAGS                     = 0x8913
   974  	SIOCGIFHWADDR                    = 0x8927
   975  	SIOCGIFINDEX                     = 0x8933
   976  	SIOCGIFMAP                       = 0x8970
   977  	SIOCGIFMEM                       = 0x891f
   978  	SIOCGIFMETRIC                    = 0x891d
   979  	SIOCGIFMTU                       = 0x8921
   980  	SIOCGIFNAME                      = 0x8910
   981  	SIOCGIFNETMASK                   = 0x891b
   982  	SIOCGIFPFLAGS                    = 0x8935
   983  	SIOCGIFSLAVE                     = 0x8929
   984  	SIOCGIFTXQLEN                    = 0x8942
   985  	SIOCGPGRP                        = 0x8904
   986  	SIOCGRARP                        = 0x8961
   987  	SIOCGSTAMP                       = 0x8906
   988  	SIOCGSTAMPNS                     = 0x8907
   989  	SIOCPROTOPRIVATE                 = 0x89e0
   990  	SIOCRTMSG                        = 0x890d
   991  	SIOCSARP                         = 0x8955
   992  	SIOCSIFADDR                      = 0x8916
   993  	SIOCSIFBR                        = 0x8941
   994  	SIOCSIFBRDADDR                   = 0x891a
   995  	SIOCSIFDSTADDR                   = 0x8918
   996  	SIOCSIFENCAP                     = 0x8926
   997  	SIOCSIFFLAGS                     = 0x8914
   998  	SIOCSIFHWADDR                    = 0x8924
   999  	SIOCSIFHWBROADCAST               = 0x8937
  1000  	SIOCSIFLINK                      = 0x8911
  1001  	SIOCSIFMAP                       = 0x8971
  1002  	SIOCSIFMEM                       = 0x8920
  1003  	SIOCSIFMETRIC                    = 0x891e
  1004  	SIOCSIFMTU                       = 0x8922
  1005  	SIOCSIFNAME                      = 0x8923
  1006  	SIOCSIFNETMASK                   = 0x891c
  1007  	SIOCSIFPFLAGS                    = 0x8934
  1008  	SIOCSIFSLAVE                     = 0x8930
  1009  	SIOCSIFTXQLEN                    = 0x8943
  1010  	SIOCSPGRP                        = 0x8902
  1011  	SIOCSRARP                        = 0x8962
  1012  	SOCK_CLOEXEC                     = 0x80000
  1013  	SOCK_DCCP                        = 0x6
  1014  	SOCK_DGRAM                       = 0x2
  1015  	SOCK_NONBLOCK                    = 0x800
  1016  	SOCK_PACKET                      = 0xa
  1017  	SOCK_RAW                         = 0x3
  1018  	SOCK_RDM                         = 0x4
  1019  	SOCK_SEQPACKET                   = 0x5
  1020  	SOCK_STREAM                      = 0x1
  1021  	SOL_AAL                          = 0x109
  1022  	SOL_ATM                          = 0x108
  1023  	SOL_DECNET                       = 0x105
  1024  	SOL_ICMPV6                       = 0x3a
  1025  	SOL_IP                           = 0x0
  1026  	SOL_IPV6                         = 0x29
  1027  	SOL_IRDA                         = 0x10a
  1028  	SOL_PACKET                       = 0x107
  1029  	SOL_RAW                          = 0xff
  1030  	SOL_SOCKET                       = 0x1
  1031  	SOL_TCP                          = 0x6
  1032  	SOL_X25                          = 0x106
  1033  	SOMAXCONN                        = 0x80
  1034  	SO_ACCEPTCONN                    = 0x1e
  1035  	SO_ATTACH_FILTER                 = 0x1a
  1036  	SO_BINDTODEVICE                  = 0x19
  1037  	SO_BROADCAST                     = 0x6
  1038  	SO_BSDCOMPAT                     = 0xe
  1039  	SO_DEBUG                         = 0x1
  1040  	SO_DETACH_FILTER                 = 0x1b
  1041  	SO_DOMAIN                        = 0x27
  1042  	SO_DONTROUTE                     = 0x5
  1043  	SO_ERROR                         = 0x4
  1044  	SO_KEEPALIVE                     = 0x9
  1045  	SO_LINGER                        = 0xd
  1046  	SO_MARK                          = 0x24
  1047  	SO_NO_CHECK                      = 0xb
  1048  	SO_OOBINLINE                     = 0xa
  1049  	SO_PASSCRED                      = 0x10
  1050  	SO_PASSSEC                       = 0x22
  1051  	SO_PEERCRED                      = 0x11
  1052  	SO_PEERNAME                      = 0x1c
  1053  	SO_PEERSEC                       = 0x1f
  1054  	SO_PRIORITY                      = 0xc
  1055  	SO_PROTOCOL                      = 0x26
  1056  	SO_RCVBUF                        = 0x8
  1057  	SO_RCVBUFFORCE                   = 0x21
  1058  	SO_RCVLOWAT                      = 0x12
  1059  	SO_RCVTIMEO                      = 0x14
  1060  	SO_REUSEADDR                     = 0x2
  1061  	SO_RXQ_OVFL                      = 0x28
  1062  	SO_SECURITY_AUTHENTICATION       = 0x16
  1063  	SO_SECURITY_ENCRYPTION_NETWORK   = 0x18
  1064  	SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
  1065  	SO_SNDBUF                        = 0x7
  1066  	SO_SNDBUFFORCE                   = 0x20
  1067  	SO_SNDLOWAT                      = 0x13
  1068  	SO_SNDTIMEO                      = 0x15
  1069  	SO_TIMESTAMP                     = 0x1d
  1070  	SO_TIMESTAMPING                  = 0x25
  1071  	SO_TIMESTAMPNS                   = 0x23
  1072  	SO_TYPE                          = 0x3
  1073  	S_BLKSIZE                        = 0x200
  1074  	S_IEXEC                          = 0x40
  1075  	S_IFBLK                          = 0x6000
  1076  	S_IFCHR                          = 0x2000
  1077  	S_IFDIR                          = 0x4000
  1078  	S_IFIFO                          = 0x1000
  1079  	S_IFLNK                          = 0xa000
  1080  	S_IFMT                           = 0xf000
  1081  	S_IFREG                          = 0x8000
  1082  	S_IFSOCK                         = 0xc000
  1083  	S_IREAD                          = 0x100
  1084  	S_IRGRP                          = 0x20
  1085  	S_IROTH                          = 0x4
  1086  	S_IRUSR                          = 0x100
  1087  	S_IRWXG                          = 0x38
  1088  	S_IRWXO                          = 0x7
  1089  	S_IRWXU                          = 0x1c0
  1090  	S_ISGID                          = 0x400
  1091  	S_ISUID                          = 0x800
  1092  	S_ISVTX                          = 0x200
  1093  	S_IWGRP                          = 0x10
  1094  	S_IWOTH                          = 0x2
  1095  	S_IWRITE                         = 0x80
  1096  	S_IWUSR                          = 0x80
  1097  	S_IXGRP                          = 0x8
  1098  	S_IXOTH                          = 0x1
  1099  	S_IXUSR                          = 0x40
  1100  	TCIFLUSH                         = 0x0
  1101  	TCIOFLUSH                        = 0x2
  1102  	TCOFLUSH                         = 0x1
  1103  	TCP_CONGESTION                   = 0xd
  1104  	TCP_CORK                         = 0x3
  1105  	TCP_DEFER_ACCEPT                 = 0x9
  1106  	TCP_INFO                         = 0xb
  1107  	TCP_KEEPCNT                      = 0x6
  1108  	TCP_KEEPIDLE                     = 0x4
  1109  	TCP_KEEPINTVL                    = 0x5
  1110  	TCP_LINGER2                      = 0x8
  1111  	TCP_MAXSEG                       = 0x2
  1112  	TCP_MAXWIN                       = 0xffff
  1113  	TCP_MAX_WINSHIFT                 = 0xe
  1114  	TCP_MD5SIG                       = 0xe
  1115  	TCP_MD5SIG_MAXKEYLEN             = 0x50
  1116  	TCP_MSS                          = 0x200
  1117  	TCP_NODELAY                      = 0x1
  1118  	TCP_QUICKACK                     = 0xc
  1119  	TCP_SYNCNT                       = 0x7
  1120  	TCP_WINDOW_CLAMP                 = 0xa
  1121  	TIOCCBRK                         = 0x5428
  1122  	TIOCCONS                         = 0x541d
  1123  	TIOCEXCL                         = 0x540c
  1124  	TIOCGDEV                         = 0x80045432
  1125  	TIOCGETD                         = 0x5424
  1126  	TIOCGICOUNT                      = 0x545d
  1127  	TIOCGLCKTRMIOS                   = 0x5456
  1128  	TIOCGPGRP                        = 0x540f
  1129  	TIOCGPTN                         = 0x80045430
  1130  	TIOCGRS485                       = 0x542e
  1131  	TIOCGSERIAL                      = 0x541e
  1132  	TIOCGSID                         = 0x5429
  1133  	TIOCGSOFTCAR                     = 0x5419
  1134  	TIOCGWINSZ                       = 0x5413
  1135  	TIOCINQ                          = 0x541b
  1136  	TIOCLINUX                        = 0x541c
  1137  	TIOCMBIC                         = 0x5417
  1138  	TIOCMBIS                         = 0x5416
  1139  	TIOCMGET                         = 0x5415
  1140  	TIOCMIWAIT                       = 0x545c
  1141  	TIOCMSET                         = 0x5418
  1142  	TIOCM_CAR                        = 0x40
  1143  	TIOCM_CD                         = 0x40
  1144  	TIOCM_CTS                        = 0x20
  1145  	TIOCM_DSR                        = 0x100
  1146  	TIOCM_DTR                        = 0x2
  1147  	TIOCM_LE                         = 0x1
  1148  	TIOCM_RI                         = 0x80
  1149  	TIOCM_RNG                        = 0x80
  1150  	TIOCM_RTS                        = 0x4
  1151  	TIOCM_SR                         = 0x10
  1152  	TIOCM_ST                         = 0x8
  1153  	TIOCNOTTY                        = 0x5422
  1154  	TIOCNXCL                         = 0x540d
  1155  	TIOCOUTQ                         = 0x5411
  1156  	TIOCPKT                          = 0x5420
  1157  	TIOCPKT_DATA                     = 0x0
  1158  	TIOCPKT_DOSTOP                   = 0x20
  1159  	TIOCPKT_FLUSHREAD                = 0x1
  1160  	TIOCPKT_FLUSHWRITE               = 0x2
  1161  	TIOCPKT_IOCTL                    = 0x40
  1162  	TIOCPKT_NOSTOP                   = 0x10
  1163  	TIOCPKT_START                    = 0x8
  1164  	TIOCPKT_STOP                     = 0x4
  1165  	TIOCSBRK                         = 0x5427
  1166  	TIOCSCTTY                        = 0x540e
  1167  	TIOCSERCONFIG                    = 0x5453
  1168  	TIOCSERGETLSR                    = 0x5459
  1169  	TIOCSERGETMULTI                  = 0x545a
  1170  	TIOCSERGSTRUCT                   = 0x5458
  1171  	TIOCSERGWILD                     = 0x5454
  1172  	TIOCSERSETMULTI                  = 0x545b
  1173  	TIOCSERSWILD                     = 0x5455
  1174  	TIOCSER_TEMT                     = 0x1
  1175  	TIOCSETD                         = 0x5423
  1176  	TIOCSIG                          = 0x40045436
  1177  	TIOCSLCKTRMIOS                   = 0x5457
  1178  	TIOCSPGRP                        = 0x5410
  1179  	TIOCSPTLCK                       = 0x40045431
  1180  	TIOCSRS485                       = 0x542f
  1181  	TIOCSSERIAL                      = 0x541f
  1182  	TIOCSSOFTCAR                     = 0x541a
  1183  	TIOCSTI                          = 0x5412
  1184  	TIOCSWINSZ                       = 0x5414
  1185  	TIOCVHANGUP                      = 0x5437
  1186  	TUNATTACHFILTER                  = 0x400854d5
  1187  	TUNDETACHFILTER                  = 0x400854d6
  1188  	TUNGETFEATURES                   = 0x800454cf
  1189  	TUNGETIFF                        = 0x800454d2
  1190  	TUNGETSNDBUF                     = 0x800454d3
  1191  	TUNGETVNETHDRSZ                  = 0x800454d7
  1192  	TUNSETDEBUG                      = 0x400454c9
  1193  	TUNSETGROUP                      = 0x400454ce
  1194  	TUNSETIFF                        = 0x400454ca
  1195  	TUNSETLINK                       = 0x400454cd
  1196  	TUNSETNOCSUM                     = 0x400454c8
  1197  	TUNSETOFFLOAD                    = 0x400454d0
  1198  	TUNSETOWNER                      = 0x400454cc
  1199  	TUNSETPERSIST                    = 0x400454cb
  1200  	TUNSETSNDBUF                     = 0x400454d4
  1201  	TUNSETTXFILTER                   = 0x400454d1
  1202  	TUNSETVNETHDRSZ                  = 0x400454d8
  1203  	WALL                             = 0x40000000
  1204  	WCLONE                           = 0x80000000
  1205  	WCONTINUED                       = 0x8
  1206  	WEXITED                          = 0x4
  1207  	WNOHANG                          = 0x1
  1208  	WNOTHREAD                        = 0x20000000
  1209  	WNOWAIT                          = 0x1000000
  1210  	WORDSIZE                         = 0x20
  1211  	WSTOPPED                         = 0x2
  1212  	WUNTRACED                        = 0x2
  1213  )
  1214  
  1215  // Errors
  1216  const (
  1217  	E2BIG           = Errno(0x7)
  1218  	EACCES          = Errno(0xd)
  1219  	EADDRINUSE      = Errno(0x62)
  1220  	EADDRNOTAVAIL   = Errno(0x63)
  1221  	EADV            = Errno(0x44)
  1222  	EAFNOSUPPORT    = Errno(0x61)
  1223  	EAGAIN          = Errno(0xb)
  1224  	EALREADY        = Errno(0x72)
  1225  	EBADE           = Errno(0x34)
  1226  	EBADF           = Errno(0x9)
  1227  	EBADFD          = Errno(0x4d)
  1228  	EBADMSG         = Errno(0x4a)
  1229  	EBADR           = Errno(0x35)
  1230  	EBADRQC         = Errno(0x38)
  1231  	EBADSLT         = Errno(0x39)
  1232  	EBFONT          = Errno(0x3b)
  1233  	EBUSY           = Errno(0x10)
  1234  	ECANCELED       = Errno(0x7d)
  1235  	ECHILD          = Errno(0xa)
  1236  	ECHRNG          = Errno(0x2c)
  1237  	ECOMM           = Errno(0x46)
  1238  	ECONNABORTED    = Errno(0x67)
  1239  	ECONNREFUSED    = Errno(0x6f)
  1240  	ECONNRESET      = Errno(0x68)
  1241  	EDEADLK         = Errno(0x23)
  1242  	EDEADLOCK       = Errno(0x23)
  1243  	EDESTADDRREQ    = Errno(0x59)
  1244  	EDOM            = Errno(0x21)
  1245  	EDOTDOT         = Errno(0x49)
  1246  	EDQUOT          = Errno(0x7a)
  1247  	EEXIST          = Errno(0x11)
  1248  	EFAULT          = Errno(0xe)
  1249  	EFBIG           = Errno(0x1b)
  1250  	EHOSTDOWN       = Errno(0x70)
  1251  	EHOSTUNREACH    = Errno(0x71)
  1252  	EHWPOISON       = Errno(0x85)
  1253  	EIDRM           = Errno(0x2b)
  1254  	EILSEQ          = Errno(0x54)
  1255  	EINPROGRESS     = Errno(0x73)
  1256  	EINTR           = Errno(0x4)
  1257  	EINVAL          = Errno(0x16)
  1258  	EIO             = Errno(0x5)
  1259  	EISCONN         = Errno(0x6a)
  1260  	EISDIR          = Errno(0x15)
  1261  	EISNAM          = Errno(0x78)
  1262  	EKEYEXPIRED     = Errno(0x7f)
  1263  	EKEYREJECTED    = Errno(0x81)
  1264  	EKEYREVOKED     = Errno(0x80)
  1265  	EL2HLT          = Errno(0x33)
  1266  	EL2NSYNC        = Errno(0x2d)
  1267  	EL3HLT          = Errno(0x2e)
  1268  	EL3RST          = Errno(0x2f)
  1269  	ELIBACC         = Errno(0x4f)
  1270  	ELIBBAD         = Errno(0x50)
  1271  	ELIBEXEC        = Errno(0x53)
  1272  	ELIBMAX         = Errno(0x52)
  1273  	ELIBSCN         = Errno(0x51)
  1274  	ELNRNG          = Errno(0x30)
  1275  	ELOOP           = Errno(0x28)
  1276  	EMEDIUMTYPE     = Errno(0x7c)
  1277  	EMFILE          = Errno(0x18)
  1278  	EMLINK          = Errno(0x1f)
  1279  	EMSGSIZE        = Errno(0x5a)
  1280  	EMULTIHOP       = Errno(0x48)
  1281  	ENAMETOOLONG    = Errno(0x24)
  1282  	ENAVAIL         = Errno(0x77)
  1283  	ENETDOWN        = Errno(0x64)
  1284  	ENETRESET       = Errno(0x66)
  1285  	ENETUNREACH     = Errno(0x65)
  1286  	ENFILE          = Errno(0x17)
  1287  	ENOANO          = Errno(0x37)
  1288  	ENOBUFS         = Errno(0x69)
  1289  	ENOCSI          = Errno(0x32)
  1290  	ENODATA         = Errno(0x3d)
  1291  	ENODEV          = Errno(0x13)
  1292  	ENOENT          = Errno(0x2)
  1293  	ENOEXEC         = Errno(0x8)
  1294  	ENOKEY          = Errno(0x7e)
  1295  	ENOLCK          = Errno(0x25)
  1296  	ENOLINK         = Errno(0x43)
  1297  	ENOMEDIUM       = Errno(0x7b)
  1298  	ENOMEM          = Errno(0xc)
  1299  	ENOMSG          = Errno(0x2a)
  1300  	ENONET          = Errno(0x40)
  1301  	ENOPKG          = Errno(0x41)
  1302  	ENOPROTOOPT     = Errno(0x5c)
  1303  	ENOSPC          = Errno(0x1c)
  1304  	ENOSR           = Errno(0x3f)
  1305  	ENOSTR          = Errno(0x3c)
  1306  	ENOSYS          = Errno(0x26)
  1307  	ENOTBLK         = Errno(0xf)
  1308  	ENOTCONN        = Errno(0x6b)
  1309  	ENOTDIR         = Errno(0x14)
  1310  	ENOTEMPTY       = Errno(0x27)
  1311  	ENOTNAM         = Errno(0x76)
  1312  	ENOTRECOVERABLE = Errno(0x83)
  1313  	ENOTSOCK        = Errno(0x58)
  1314  	ENOTSUP         = Errno(0x5f)
  1315  	ENOTTY          = Errno(0x19)
  1316  	ENOTUNIQ        = Errno(0x4c)
  1317  	ENXIO           = Errno(0x6)
  1318  	EOPNOTSUPP      = Errno(0x5f)
  1319  	EOVERFLOW       = Errno(0x4b)
  1320  	EOWNERDEAD      = Errno(0x82)
  1321  	EPERM           = Errno(0x1)
  1322  	EPFNOSUPPORT    = Errno(0x60)
  1323  	EPIPE           = Errno(0x20)
  1324  	EPROTO          = Errno(0x47)
  1325  	EPROTONOSUPPORT = Errno(0x5d)
  1326  	EPROTOTYPE      = Errno(0x5b)
  1327  	ERANGE          = Errno(0x22)
  1328  	EREMCHG         = Errno(0x4e)
  1329  	EREMOTE         = Errno(0x42)
  1330  	EREMOTEIO       = Errno(0x79)
  1331  	ERESTART        = Errno(0x55)
  1332  	ERFKILL         = Errno(0x84)
  1333  	EROFS           = Errno(0x1e)
  1334  	ESHUTDOWN       = Errno(0x6c)
  1335  	ESOCKTNOSUPPORT = Errno(0x5e)
  1336  	ESPIPE          = Errno(0x1d)
  1337  	ESRCH           = Errno(0x3)
  1338  	ESRMNT          = Errno(0x45)
  1339  	ESTALE          = Errno(0x74)
  1340  	ESTRPIPE        = Errno(0x56)
  1341  	ETIME           = Errno(0x3e)
  1342  	ETIMEDOUT       = Errno(0x6e)
  1343  	ETOOMANYREFS    = Errno(0x6d)
  1344  	ETXTBSY         = Errno(0x1a)
  1345  	EUCLEAN         = Errno(0x75)
  1346  	EUNATCH         = Errno(0x31)
  1347  	EUSERS          = Errno(0x57)
  1348  	EWOULDBLOCK     = Errno(0xb)
  1349  	EXDEV           = Errno(0x12)
  1350  	EXFULL          = Errno(0x36)
  1351  )
  1352  
  1353  // Signals
  1354  const (
  1355  	SIGABRT   = Signal(0x6)
  1356  	SIGALRM   = Signal(0xe)
  1357  	SIGBUS    = Signal(0x7)
  1358  	SIGCHLD   = Signal(0x11)
  1359  	SIGCLD    = Signal(0x11)
  1360  	SIGCONT   = Signal(0x12)
  1361  	SIGFPE    = Signal(0x8)
  1362  	SIGHUP    = Signal(0x1)
  1363  	SIGILL    = Signal(0x4)
  1364  	SIGINT    = Signal(0x2)
  1365  	SIGIO     = Signal(0x1d)
  1366  	SIGIOT    = Signal(0x6)
  1367  	SIGKILL   = Signal(0x9)
  1368  	SIGPIPE   = Signal(0xd)
  1369  	SIGPOLL   = Signal(0x1d)
  1370  	SIGPROF   = Signal(0x1b)
  1371  	SIGPWR    = Signal(0x1e)
  1372  	SIGQUIT   = Signal(0x3)
  1373  	SIGSEGV   = Signal(0xb)
  1374  	SIGSTKFLT = Signal(0x10)
  1375  	SIGSTOP   = Signal(0x13)
  1376  	SIGSYS    = Signal(0x1f)
  1377  	SIGTERM   = Signal(0xf)
  1378  	SIGTRAP   = Signal(0x5)
  1379  	SIGTSTP   = Signal(0x14)
  1380  	SIGTTIN   = Signal(0x15)
  1381  	SIGTTOU   = Signal(0x16)
  1382  	SIGUNUSED = Signal(0x1f)
  1383  	SIGURG    = Signal(0x17)
  1384  	SIGUSR1   = Signal(0xa)
  1385  	SIGUSR2   = Signal(0xc)
  1386  	SIGVTALRM = Signal(0x1a)
  1387  	SIGWINCH  = Signal(0x1c)
  1388  	SIGXCPU   = Signal(0x18)
  1389  	SIGXFSZ   = Signal(0x19)
  1390  )
  1391  
  1392  // Error table
  1393  var errors = [...]string{
  1394  	1:   "operation not permitted",
  1395  	2:   "no such file or directory",
  1396  	3:   "no such process",
  1397  	4:   "interrupted system call",
  1398  	5:   "input/output error",
  1399  	6:   "no such device or address",
  1400  	7:   "argument list too long",
  1401  	8:   "exec format error",
  1402  	9:   "bad file descriptor",
  1403  	10:  "no child processes",
  1404  	11:  "resource temporarily unavailable",
  1405  	12:  "cannot allocate memory",
  1406  	13:  "permission denied",
  1407  	14:  "bad address",
  1408  	15:  "block device required",
  1409  	16:  "device or resource busy",
  1410  	17:  "file exists",
  1411  	18:  "invalid cross-device link",
  1412  	19:  "no such device",
  1413  	20:  "not a directory",
  1414  	21:  "is a directory",
  1415  	22:  "invalid argument",
  1416  	23:  "too many open files in system",
  1417  	24:  "too many open files",
  1418  	25:  "inappropriate ioctl for device",
  1419  	26:  "text file busy",
  1420  	27:  "file too large",
  1421  	28:  "no space left on device",
  1422  	29:  "illegal seek",
  1423  	30:  "read-only file system",
  1424  	31:  "too many links",
  1425  	32:  "broken pipe",
  1426  	33:  "numerical argument out of domain",
  1427  	34:  "numerical result out of range",
  1428  	35:  "resource deadlock avoided",
  1429  	36:  "file name too long",
  1430  	37:  "no locks available",
  1431  	38:  "function not implemented",
  1432  	39:  "directory not empty",
  1433  	40:  "too many levels of symbolic links",
  1434  	42:  "no message of desired type",
  1435  	43:  "identifier removed",
  1436  	44:  "channel number out of range",
  1437  	45:  "level 2 not synchronized",
  1438  	46:  "level 3 halted",
  1439  	47:  "level 3 reset",
  1440  	48:  "link number out of range",
  1441  	49:  "protocol driver not attached",
  1442  	50:  "no CSI structure available",
  1443  	51:  "level 2 halted",
  1444  	52:  "invalid exchange",
  1445  	53:  "invalid request descriptor",
  1446  	54:  "exchange full",
  1447  	55:  "no anode",
  1448  	56:  "invalid request code",
  1449  	57:  "invalid slot",
  1450  	59:  "bad font file format",
  1451  	60:  "device not a stream",
  1452  	61:  "no data available",
  1453  	62:  "timer expired",
  1454  	63:  "out of streams resources",
  1455  	64:  "machine is not on the network",
  1456  	65:  "package not installed",
  1457  	66:  "object is remote",
  1458  	67:  "link has been severed",
  1459  	68:  "advertise error",
  1460  	69:  "srmount error",
  1461  	70:  "communication error on send",
  1462  	71:  "protocol error",
  1463  	72:  "multihop attempted",
  1464  	73:  "RFS specific error",
  1465  	74:  "bad message",
  1466  	75:  "value too large for defined data type",
  1467  	76:  "name not unique on network",
  1468  	77:  "file descriptor in bad state",
  1469  	78:  "remote address changed",
  1470  	79:  "can not access a needed shared library",
  1471  	80:  "accessing a corrupted shared library",
  1472  	81:  ".lib section in a.out corrupted",
  1473  	82:  "attempting to link in too many shared libraries",
  1474  	83:  "cannot exec a shared library directly",
  1475  	84:  "invalid or incomplete multibyte or wide character",
  1476  	85:  "interrupted system call should be restarted",
  1477  	86:  "streams pipe error",
  1478  	87:  "too many users",
  1479  	88:  "socket operation on non-socket",
  1480  	89:  "destination address required",
  1481  	90:  "message too long",
  1482  	91:  "protocol wrong type for socket",
  1483  	92:  "protocol not available",
  1484  	93:  "protocol not supported",
  1485  	94:  "socket type not supported",
  1486  	95:  "operation not supported",
  1487  	96:  "protocol family not supported",
  1488  	97:  "address family not supported by protocol",
  1489  	98:  "address already in use",
  1490  	99:  "cannot assign requested address",
  1491  	100: "network is down",
  1492  	101: "network is unreachable",
  1493  	102: "network dropped connection on reset",
  1494  	103: "software caused connection abort",
  1495  	104: "connection reset by peer",
  1496  	105: "no buffer space available",
  1497  	106: "transport endpoint is already connected",
  1498  	107: "transport endpoint is not connected",
  1499  	108: "cannot send after transport endpoint shutdown",
  1500  	109: "too many references: cannot splice",
  1501  	110: "connection timed out",
  1502  	111: "connection refused",
  1503  	112: "host is down",
  1504  	113: "no route to host",
  1505  	114: "operation already in progress",
  1506  	115: "operation now in progress",
  1507  	116: "stale NFS file handle",
  1508  	117: "structure needs cleaning",
  1509  	118: "not a XENIX named type file",
  1510  	119: "no XENIX semaphores available",
  1511  	120: "is a named type file",
  1512  	121: "remote I/O error",
  1513  	122: "disk quota exceeded",
  1514  	123: "no medium found",
  1515  	124: "wrong medium type",
  1516  	125: "operation canceled",
  1517  	126: "required key not available",
  1518  	127: "key has expired",
  1519  	128: "key has been revoked",
  1520  	129: "key was rejected by service",
  1521  	130: "owner died",
  1522  	131: "state not recoverable",
  1523  	132: "operation not possible due to RF-kill",
  1524  	133: "unknown error 133",
  1525  }
  1526  
  1527  // Signal table
  1528  var signals = [...]string{
  1529  	1:  "hangup",
  1530  	2:  "interrupt",
  1531  	3:  "quit",
  1532  	4:  "illegal instruction",
  1533  	5:  "trace/breakpoint trap",
  1534  	6:  "aborted",
  1535  	7:  "bus error",
  1536  	8:  "floating point exception",
  1537  	9:  "killed",
  1538  	10: "user defined signal 1",
  1539  	11: "segmentation fault",
  1540  	12: "user defined signal 2",
  1541  	13: "broken pipe",
  1542  	14: "alarm clock",
  1543  	15: "terminated",
  1544  	16: "stack fault",
  1545  	17: "child exited",
  1546  	18: "continued",
  1547  	19: "stopped (signal)",
  1548  	20: "stopped",
  1549  	21: "stopped (tty input)",
  1550  	22: "stopped (tty output)",
  1551  	23: "urgent I/O condition",
  1552  	24: "CPU time limit exceeded",
  1553  	25: "file size limit exceeded",
  1554  	26: "virtual timer expired",
  1555  	27: "profiling timer expired",
  1556  	28: "window changed",
  1557  	29: "I/O possible",
  1558  	30: "power failure",
  1559  	31: "bad system call",
  1560  }
  1561  

View as plain text