github.com/spotify/syslog-redirector-golang@v0.0.0-20140320174030-4859f03d829a/src/pkg/syscall/zsysctl_openbsd.go (about)

     1  // mksysctl_openbsd.pl
     2  // MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
     3  
     4  package syscall
     5  
     6  type mibentry struct {
     7  	ctlname string
     8  	ctloid  []_C_int
     9  }
    10  
    11  var sysctlMib = []mibentry{
    12  	{"ddb.console", []_C_int{9, 6}},
    13  	{"ddb.log", []_C_int{9, 7}},
    14  	{"ddb.max_line", []_C_int{9, 3}},
    15  	{"ddb.max_width", []_C_int{9, 2}},
    16  	{"ddb.panic", []_C_int{9, 5}},
    17  	{"ddb.radix", []_C_int{9, 1}},
    18  	{"ddb.tab_stop_width", []_C_int{9, 4}},
    19  	{"ddb.trigger", []_C_int{9, 8}},
    20  	{"fs.posix.setuid", []_C_int{3, 1, 1}},
    21  	{"hw.allowpowerdown", []_C_int{6, 22}},
    22  	{"hw.byteorder", []_C_int{6, 4}},
    23  	{"hw.cpuspeed", []_C_int{6, 12}},
    24  	{"hw.diskcount", []_C_int{6, 10}},
    25  	{"hw.disknames", []_C_int{6, 8}},
    26  	{"hw.diskstats", []_C_int{6, 9}},
    27  	{"hw.machine", []_C_int{6, 1}},
    28  	{"hw.model", []_C_int{6, 2}},
    29  	{"hw.ncpu", []_C_int{6, 3}},
    30  	{"hw.ncpufound", []_C_int{6, 21}},
    31  	{"hw.pagesize", []_C_int{6, 7}},
    32  	{"hw.physmem", []_C_int{6, 19}},
    33  	{"hw.product", []_C_int{6, 15}},
    34  	{"hw.serialno", []_C_int{6, 17}},
    35  	{"hw.setperf", []_C_int{6, 13}},
    36  	{"hw.usermem", []_C_int{6, 20}},
    37  	{"hw.uuid", []_C_int{6, 18}},
    38  	{"hw.vendor", []_C_int{6, 14}},
    39  	{"hw.version", []_C_int{6, 16}},
    40  	{"kern.arandom", []_C_int{1, 37}},
    41  	{"kern.argmax", []_C_int{1, 8}},
    42  	{"kern.boottime", []_C_int{1, 21}},
    43  	{"kern.bufcachepercent", []_C_int{1, 72}},
    44  	{"kern.ccpu", []_C_int{1, 45}},
    45  	{"kern.clockrate", []_C_int{1, 12}},
    46  	{"kern.consdev", []_C_int{1, 75}},
    47  	{"kern.cp_time", []_C_int{1, 40}},
    48  	{"kern.cp_time2", []_C_int{1, 71}},
    49  	{"kern.cryptodevallowsoft", []_C_int{1, 53}},
    50  	{"kern.domainname", []_C_int{1, 22}},
    51  	{"kern.file", []_C_int{1, 15}},
    52  	{"kern.file2", []_C_int{1, 73}},
    53  	{"kern.forkstat", []_C_int{1, 42}},
    54  	{"kern.fscale", []_C_int{1, 46}},
    55  	{"kern.fsync", []_C_int{1, 33}},
    56  	{"kern.hostid", []_C_int{1, 11}},
    57  	{"kern.hostname", []_C_int{1, 10}},
    58  	{"kern.intrcnt.nintrcnt", []_C_int{1, 63, 1}},
    59  	{"kern.job_control", []_C_int{1, 19}},
    60  	{"kern.malloc.buckets", []_C_int{1, 39, 1}},
    61  	{"kern.malloc.kmemnames", []_C_int{1, 39, 3}},
    62  	{"kern.maxclusters", []_C_int{1, 67}},
    63  	{"kern.maxfiles", []_C_int{1, 7}},
    64  	{"kern.maxlocksperuid", []_C_int{1, 70}},
    65  	{"kern.maxpartitions", []_C_int{1, 23}},
    66  	{"kern.maxproc", []_C_int{1, 6}},
    67  	{"kern.maxthread", []_C_int{1, 25}},
    68  	{"kern.maxvnodes", []_C_int{1, 5}},
    69  	{"kern.mbstat", []_C_int{1, 59}},
    70  	{"kern.msgbuf", []_C_int{1, 48}},
    71  	{"kern.msgbufsize", []_C_int{1, 38}},
    72  	{"kern.nchstats", []_C_int{1, 41}},
    73  	{"kern.netlivelocks", []_C_int{1, 76}},
    74  	{"kern.nfiles", []_C_int{1, 56}},
    75  	{"kern.ngroups", []_C_int{1, 18}},
    76  	{"kern.nosuidcoredump", []_C_int{1, 32}},
    77  	{"kern.nprocs", []_C_int{1, 47}},
    78  	{"kern.nselcoll", []_C_int{1, 43}},
    79  	{"kern.nthreads", []_C_int{1, 26}},
    80  	{"kern.numvnodes", []_C_int{1, 58}},
    81  	{"kern.osrelease", []_C_int{1, 2}},
    82  	{"kern.osrevision", []_C_int{1, 3}},
    83  	{"kern.ostype", []_C_int{1, 1}},
    84  	{"kern.osversion", []_C_int{1, 27}},
    85  	{"kern.pool_debug", []_C_int{1, 77}},
    86  	{"kern.posix1version", []_C_int{1, 17}},
    87  	{"kern.proc", []_C_int{1, 66}},
    88  	{"kern.random", []_C_int{1, 31}},
    89  	{"kern.rawpartition", []_C_int{1, 24}},
    90  	{"kern.rthreads", []_C_int{1, 74}},
    91  	{"kern.saved_ids", []_C_int{1, 20}},
    92  	{"kern.securelevel", []_C_int{1, 9}},
    93  	{"kern.seminfo", []_C_int{1, 61}},
    94  	{"kern.shminfo", []_C_int{1, 62}},
    95  	{"kern.somaxconn", []_C_int{1, 28}},
    96  	{"kern.sominconn", []_C_int{1, 29}},
    97  	{"kern.splassert", []_C_int{1, 54}},
    98  	{"kern.stackgap_random", []_C_int{1, 50}},
    99  	{"kern.sysvipc_info", []_C_int{1, 51}},
   100  	{"kern.sysvmsg", []_C_int{1, 34}},
   101  	{"kern.sysvsem", []_C_int{1, 35}},
   102  	{"kern.sysvshm", []_C_int{1, 36}},
   103  	{"kern.timecounter.choice", []_C_int{1, 69, 4}},
   104  	{"kern.timecounter.hardware", []_C_int{1, 69, 3}},
   105  	{"kern.timecounter.tick", []_C_int{1, 69, 1}},
   106  	{"kern.timecounter.timestepwarnings", []_C_int{1, 69, 2}},
   107  	{"kern.tty.maxptys", []_C_int{1, 44, 6}},
   108  	{"kern.tty.nptys", []_C_int{1, 44, 7}},
   109  	{"kern.tty.tk_cancc", []_C_int{1, 44, 4}},
   110  	{"kern.tty.tk_nin", []_C_int{1, 44, 1}},
   111  	{"kern.tty.tk_nout", []_C_int{1, 44, 2}},
   112  	{"kern.tty.tk_rawcc", []_C_int{1, 44, 3}},
   113  	{"kern.tty.ttyinfo", []_C_int{1, 44, 5}},
   114  	{"kern.ttycount", []_C_int{1, 57}},
   115  	{"kern.userasymcrypto", []_C_int{1, 60}},
   116  	{"kern.usercrypto", []_C_int{1, 52}},
   117  	{"kern.usermount", []_C_int{1, 30}},
   118  	{"kern.version", []_C_int{1, 4}},
   119  	{"kern.vnode", []_C_int{1, 13}},
   120  	{"kern.watchdog.auto", []_C_int{1, 64, 2}},
   121  	{"kern.watchdog.period", []_C_int{1, 64, 1}},
   122  	{"net.bpf.bufsize", []_C_int{4, 31, 1}},
   123  	{"net.bpf.maxbufsize", []_C_int{4, 31, 2}},
   124  	{"net.inet.ah.enable", []_C_int{4, 2, 51, 1}},
   125  	{"net.inet.ah.stats", []_C_int{4, 2, 51, 2}},
   126  	{"net.inet.carp.allow", []_C_int{4, 2, 112, 1}},
   127  	{"net.inet.carp.log", []_C_int{4, 2, 112, 3}},
   128  	{"net.inet.carp.preempt", []_C_int{4, 2, 112, 2}},
   129  	{"net.inet.carp.stats", []_C_int{4, 2, 112, 4}},
   130  	{"net.inet.divert.recvspace", []_C_int{4, 2, 258, 1}},
   131  	{"net.inet.divert.sendspace", []_C_int{4, 2, 258, 2}},
   132  	{"net.inet.divert.stats", []_C_int{4, 2, 258, 3}},
   133  	{"net.inet.esp.enable", []_C_int{4, 2, 50, 1}},
   134  	{"net.inet.esp.stats", []_C_int{4, 2, 50, 4}},
   135  	{"net.inet.esp.udpencap", []_C_int{4, 2, 50, 2}},
   136  	{"net.inet.esp.udpencap_port", []_C_int{4, 2, 50, 3}},
   137  	{"net.inet.etherip.allow", []_C_int{4, 2, 97, 1}},
   138  	{"net.inet.etherip.stats", []_C_int{4, 2, 97, 2}},
   139  	{"net.inet.gre.allow", []_C_int{4, 2, 47, 1}},
   140  	{"net.inet.gre.wccp", []_C_int{4, 2, 47, 2}},
   141  	{"net.inet.icmp.bmcastecho", []_C_int{4, 2, 1, 2}},
   142  	{"net.inet.icmp.errppslimit", []_C_int{4, 2, 1, 3}},
   143  	{"net.inet.icmp.maskrepl", []_C_int{4, 2, 1, 1}},
   144  	{"net.inet.icmp.rediraccept", []_C_int{4, 2, 1, 4}},
   145  	{"net.inet.icmp.redirtimeout", []_C_int{4, 2, 1, 5}},
   146  	{"net.inet.icmp.stats", []_C_int{4, 2, 1, 7}},
   147  	{"net.inet.icmp.tstamprepl", []_C_int{4, 2, 1, 6}},
   148  	{"net.inet.igmp.stats", []_C_int{4, 2, 2, 1}},
   149  	{"net.inet.ip.arpqueued", []_C_int{4, 2, 0, 36}},
   150  	{"net.inet.ip.encdebug", []_C_int{4, 2, 0, 12}},
   151  	{"net.inet.ip.forwarding", []_C_int{4, 2, 0, 1}},
   152  	{"net.inet.ip.ifq.congestion", []_C_int{4, 2, 0, 30, 4}},
   153  	{"net.inet.ip.ifq.drops", []_C_int{4, 2, 0, 30, 3}},
   154  	{"net.inet.ip.ifq.len", []_C_int{4, 2, 0, 30, 1}},
   155  	{"net.inet.ip.ifq.maxlen", []_C_int{4, 2, 0, 30, 2}},
   156  	{"net.inet.ip.maxqueue", []_C_int{4, 2, 0, 11}},
   157  	{"net.inet.ip.mforwarding", []_C_int{4, 2, 0, 31}},
   158  	{"net.inet.ip.mrtproto", []_C_int{4, 2, 0, 34}},
   159  	{"net.inet.ip.mrtstats", []_C_int{4, 2, 0, 35}},
   160  	{"net.inet.ip.mtu", []_C_int{4, 2, 0, 4}},
   161  	{"net.inet.ip.mtudisc", []_C_int{4, 2, 0, 27}},
   162  	{"net.inet.ip.mtudisctimeout", []_C_int{4, 2, 0, 28}},
   163  	{"net.inet.ip.multipath", []_C_int{4, 2, 0, 32}},
   164  	{"net.inet.ip.portfirst", []_C_int{4, 2, 0, 7}},
   165  	{"net.inet.ip.porthifirst", []_C_int{4, 2, 0, 9}},
   166  	{"net.inet.ip.porthilast", []_C_int{4, 2, 0, 10}},
   167  	{"net.inet.ip.portlast", []_C_int{4, 2, 0, 8}},
   168  	{"net.inet.ip.redirect", []_C_int{4, 2, 0, 2}},
   169  	{"net.inet.ip.sourceroute", []_C_int{4, 2, 0, 5}},
   170  	{"net.inet.ip.stats", []_C_int{4, 2, 0, 33}},
   171  	{"net.inet.ip.ttl", []_C_int{4, 2, 0, 3}},
   172  	{"net.inet.ipcomp.enable", []_C_int{4, 2, 108, 1}},
   173  	{"net.inet.ipcomp.stats", []_C_int{4, 2, 108, 2}},
   174  	{"net.inet.ipip.allow", []_C_int{4, 2, 4, 1}},
   175  	{"net.inet.ipip.stats", []_C_int{4, 2, 4, 2}},
   176  	{"net.inet.mobileip.allow", []_C_int{4, 2, 55, 1}},
   177  	{"net.inet.pfsync.stats", []_C_int{4, 2, 240, 1}},
   178  	{"net.inet.pim.stats", []_C_int{4, 2, 103, 1}},
   179  	{"net.inet.tcp.ackonpush", []_C_int{4, 2, 6, 13}},
   180  	{"net.inet.tcp.always_keepalive", []_C_int{4, 2, 6, 22}},
   181  	{"net.inet.tcp.baddynamic", []_C_int{4, 2, 6, 6}},
   182  	{"net.inet.tcp.drop", []_C_int{4, 2, 6, 19}},
   183  	{"net.inet.tcp.ecn", []_C_int{4, 2, 6, 14}},
   184  	{"net.inet.tcp.ident", []_C_int{4, 2, 6, 9}},
   185  	{"net.inet.tcp.keepidle", []_C_int{4, 2, 6, 3}},
   186  	{"net.inet.tcp.keepinittime", []_C_int{4, 2, 6, 2}},
   187  	{"net.inet.tcp.keepintvl", []_C_int{4, 2, 6, 4}},
   188  	{"net.inet.tcp.mssdflt", []_C_int{4, 2, 6, 11}},
   189  	{"net.inet.tcp.reasslimit", []_C_int{4, 2, 6, 18}},
   190  	{"net.inet.tcp.rfc1323", []_C_int{4, 2, 6, 1}},
   191  	{"net.inet.tcp.rfc3390", []_C_int{4, 2, 6, 17}},
   192  	{"net.inet.tcp.rstppslimit", []_C_int{4, 2, 6, 12}},
   193  	{"net.inet.tcp.sack", []_C_int{4, 2, 6, 10}},
   194  	{"net.inet.tcp.sackholelimit", []_C_int{4, 2, 6, 20}},
   195  	{"net.inet.tcp.slowhz", []_C_int{4, 2, 6, 5}},
   196  	{"net.inet.tcp.stats", []_C_int{4, 2, 6, 21}},
   197  	{"net.inet.tcp.synbucketlimit", []_C_int{4, 2, 6, 16}},
   198  	{"net.inet.tcp.syncachelimit", []_C_int{4, 2, 6, 15}},
   199  	{"net.inet.udp.baddynamic", []_C_int{4, 2, 17, 2}},
   200  	{"net.inet.udp.checksum", []_C_int{4, 2, 17, 1}},
   201  	{"net.inet.udp.recvspace", []_C_int{4, 2, 17, 3}},
   202  	{"net.inet.udp.sendspace", []_C_int{4, 2, 17, 4}},
   203  	{"net.inet.udp.stats", []_C_int{4, 2, 17, 5}},
   204  	{"net.inet6.divert.recvspace", []_C_int{4, 24, 86, 1}},
   205  	{"net.inet6.divert.sendspace", []_C_int{4, 24, 86, 2}},
   206  	{"net.inet6.divert.stats", []_C_int{4, 24, 86, 3}},
   207  	{"net.inet6.icmp6.errppslimit", []_C_int{4, 24, 30, 14}},
   208  	{"net.inet6.icmp6.mtudisc_hiwat", []_C_int{4, 24, 30, 16}},
   209  	{"net.inet6.icmp6.mtudisc_lowat", []_C_int{4, 24, 30, 17}},
   210  	{"net.inet6.icmp6.nd6_debug", []_C_int{4, 24, 30, 18}},
   211  	{"net.inet6.icmp6.nd6_delay", []_C_int{4, 24, 30, 8}},
   212  	{"net.inet6.icmp6.nd6_maxnudhint", []_C_int{4, 24, 30, 15}},
   213  	{"net.inet6.icmp6.nd6_mmaxtries", []_C_int{4, 24, 30, 10}},
   214  	{"net.inet6.icmp6.nd6_prune", []_C_int{4, 24, 30, 6}},
   215  	{"net.inet6.icmp6.nd6_umaxtries", []_C_int{4, 24, 30, 9}},
   216  	{"net.inet6.icmp6.nd6_useloopback", []_C_int{4, 24, 30, 11}},
   217  	{"net.inet6.icmp6.nodeinfo", []_C_int{4, 24, 30, 13}},
   218  	{"net.inet6.icmp6.rediraccept", []_C_int{4, 24, 30, 2}},
   219  	{"net.inet6.icmp6.redirtimeout", []_C_int{4, 24, 30, 3}},
   220  	{"net.inet6.ip6.accept_rtadv", []_C_int{4, 24, 17, 12}},
   221  	{"net.inet6.ip6.auto_flowlabel", []_C_int{4, 24, 17, 17}},
   222  	{"net.inet6.ip6.dad_count", []_C_int{4, 24, 17, 16}},
   223  	{"net.inet6.ip6.dad_pending", []_C_int{4, 24, 17, 49}},
   224  	{"net.inet6.ip6.defmcasthlim", []_C_int{4, 24, 17, 18}},
   225  	{"net.inet6.ip6.forwarding", []_C_int{4, 24, 17, 1}},
   226  	{"net.inet6.ip6.forwsrcrt", []_C_int{4, 24, 17, 5}},
   227  	{"net.inet6.ip6.hdrnestlimit", []_C_int{4, 24, 17, 15}},
   228  	{"net.inet6.ip6.hlim", []_C_int{4, 24, 17, 3}},
   229  	{"net.inet6.ip6.kame_version", []_C_int{4, 24, 17, 20}},
   230  	{"net.inet6.ip6.keepfaith", []_C_int{4, 24, 17, 13}},
   231  	{"net.inet6.ip6.log_interval", []_C_int{4, 24, 17, 14}},
   232  	{"net.inet6.ip6.maxdynroutes", []_C_int{4, 24, 17, 48}},
   233  	{"net.inet6.ip6.maxfragpackets", []_C_int{4, 24, 17, 9}},
   234  	{"net.inet6.ip6.maxfrags", []_C_int{4, 24, 17, 41}},
   235  	{"net.inet6.ip6.maxifdefrouters", []_C_int{4, 24, 17, 47}},
   236  	{"net.inet6.ip6.maxifprefixes", []_C_int{4, 24, 17, 46}},
   237  	{"net.inet6.ip6.mforwarding", []_C_int{4, 24, 17, 42}},
   238  	{"net.inet6.ip6.mrtproto", []_C_int{4, 24, 17, 8}},
   239  	{"net.inet6.ip6.mtu", []_C_int{4, 24, 17, 4}},
   240  	{"net.inet6.ip6.multicast_mtudisc", []_C_int{4, 24, 17, 44}},
   241  	{"net.inet6.ip6.multipath", []_C_int{4, 24, 17, 43}},
   242  	{"net.inet6.ip6.neighborgcthresh", []_C_int{4, 24, 17, 45}},
   243  	{"net.inet6.ip6.redirect", []_C_int{4, 24, 17, 2}},
   244  	{"net.inet6.ip6.rr_prune", []_C_int{4, 24, 17, 22}},
   245  	{"net.inet6.ip6.sourcecheck", []_C_int{4, 24, 17, 10}},
   246  	{"net.inet6.ip6.sourcecheck_logint", []_C_int{4, 24, 17, 11}},
   247  	{"net.inet6.ip6.use_deprecated", []_C_int{4, 24, 17, 21}},
   248  	{"net.inet6.ip6.v6only", []_C_int{4, 24, 17, 24}},
   249  	{"net.key.sadb_dump", []_C_int{4, 30, 1}},
   250  	{"net.key.spd_dump", []_C_int{4, 30, 2}},
   251  	{"net.mpls.ifq.congestion", []_C_int{4, 33, 3, 4}},
   252  	{"net.mpls.ifq.drops", []_C_int{4, 33, 3, 3}},
   253  	{"net.mpls.ifq.len", []_C_int{4, 33, 3, 1}},
   254  	{"net.mpls.ifq.maxlen", []_C_int{4, 33, 3, 2}},
   255  	{"net.mpls.mapttl_ip", []_C_int{4, 33, 5}},
   256  	{"net.mpls.mapttl_ip6", []_C_int{4, 33, 6}},
   257  	{"net.mpls.maxloop_inkernel", []_C_int{4, 33, 4}},
   258  	{"net.mpls.ttl", []_C_int{4, 33, 2}},
   259  	{"net.pflow.stats", []_C_int{4, 34, 1}},
   260  	{"net.pipex.enable", []_C_int{4, 35, 1}},
   261  	{"user.bc_base_max", []_C_int{8, 2}},
   262  	{"user.bc_dim_max", []_C_int{8, 3}},
   263  	{"user.bc_scale_max", []_C_int{8, 4}},
   264  	{"user.bc_string_max", []_C_int{8, 5}},
   265  	{"user.coll_weights_max", []_C_int{8, 6}},
   266  	{"user.cs_path", []_C_int{8, 1}},
   267  	{"user.expr_nest_max", []_C_int{8, 7}},
   268  	{"user.line_max", []_C_int{8, 8}},
   269  	{"user.posix2_c_bind", []_C_int{8, 11}},
   270  	{"user.posix2_c_dev", []_C_int{8, 12}},
   271  	{"user.posix2_char_term", []_C_int{8, 13}},
   272  	{"user.posix2_fort_dev", []_C_int{8, 14}},
   273  	{"user.posix2_fort_run", []_C_int{8, 15}},
   274  	{"user.posix2_localedef", []_C_int{8, 16}},
   275  	{"user.posix2_sw_dev", []_C_int{8, 17}},
   276  	{"user.posix2_upe", []_C_int{8, 18}},
   277  	{"user.posix2_version", []_C_int{8, 10}},
   278  	{"user.re_dup_max", []_C_int{8, 9}},
   279  	{"user.stream_max", []_C_int{8, 19}},
   280  	{"user.tzname_max", []_C_int{8, 20}},
   281  	{"vm.anonmin", []_C_int{2, 7}},
   282  	{"vm.loadavg", []_C_int{2, 2}},
   283  	{"vm.maxslp", []_C_int{2, 10}},
   284  	{"vm.nkmempages", []_C_int{2, 6}},
   285  	{"vm.psstrings", []_C_int{2, 3}},
   286  	{"vm.swapencrypt.enable", []_C_int{2, 5, 0}},
   287  	{"vm.swapencrypt.keyscreated", []_C_int{2, 5, 1}},
   288  	{"vm.swapencrypt.keysdeleted", []_C_int{2, 5, 2}},
   289  	{"vm.uspace", []_C_int{2, 11}},
   290  	{"vm.uvmexp", []_C_int{2, 4}},
   291  	{"vm.vmmeter", []_C_int{2, 1}},
   292  	{"vm.vnodemin", []_C_int{2, 9}},
   293  	{"vm.vtextmin", []_C_int{2, 8}},
   294  }